Dagger
Search

shellcheck

No long description provided.

Installation

dagger install github.com/dagger/dagger/dev/shellcheck@6d2bd214bcf6c722399ef820c025193eafd9da0e

Entrypoint

Return Type
Shellcheck
Example
func (m *myModule) example() *Shellcheck  {
	return dag.
			Shellcheck()
}
@function
def example() -> dag.Shellcheck:
	return (
		dag.shellcheck()
	)
@func()
example(): Shellcheck {
	return dag
		.shellcheck()
}

Types

Shellcheck 🔗

check() 🔗

Returns a container that echoes whatever string argument is provided

Return Type
Report !
Arguments
NameTypeDefault ValueDescription
fileFile !-No description provided
Example
func (m *myModule) example(file *File) *ShellcheckReport  {
	return dag.
			Shellcheck().
			Check(file)
}
@function
def example(file: dagger.File) -> dag.ShellcheckReport:
	return (
		dag.shellcheck()
		.check(file)
	)
@func()
example(file: File): ShellcheckReport {
	return dag
		.shellcheck()
		.check(file)
}

Report 🔗

issues() 🔗

Return Type
[Issue ! ] !
Example
func (m *myModule) example(file *File) []*ShellcheckIssue  {
	return dag.
			Shellcheck().
			Check(file).
			Issues()
}
@function
def example(file: dagger.File) -> List[dag.ShellcheckIssue]:
	return (
		dag.shellcheck()
		.check(file)
		.issues()
	)
@func()
example(file: File): ShellcheckIssue[] {
	return dag
		.shellcheck()
		.check(file)
		.issues()
}

json() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, file *File) string  {
	return dag.
			Shellcheck().
			Check(file).
			Json(ctx)
}
@function
async def example(file: dagger.File) -> str:
	return await (
		dag.shellcheck()
		.check(file)
		.json()
	)
@func()
async example(file: File): Promise<string> {
	return dag
		.shellcheck()
		.check(file)
		.json()
}

report() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, file *File) string  {
	return dag.
			Shellcheck().
			Check(file).
			Report(ctx)
}
@function
async def example(file: dagger.File) -> str:
	return await (
		dag.shellcheck()
		.check(file)
		.report()
	)
@func()
async example(file: File): Promise<string> {
	return dag
		.shellcheck()
		.check(file)
		.report()
}

fixedDiff() 🔗

Return Type
String !
Example
func (m *myModule) example(ctx context.Context, file *File) string  {
	return dag.
			Shellcheck().
			Check(file).
			FixedDiff(ctx)
}
@function
async def example(file: dagger.File) -> str:
	return await (
		dag.shellcheck()
		.check(file)
		.fixed_diff()
	)
@func()
async example(file: File): Promise<string> {
	return dag
		.shellcheck()
		.check(file)
		.fixedDiff()
}

assert() 🔗

Return Type
Void !
Example
func (m *myModule) example(ctx context.Context, file *File)   {
	return dag.
			Shellcheck().
			Check(file).
			Assert(ctx)
}
@function
async def example(file: dagger.File) -> None:
	return await (
		dag.shellcheck()
		.check(file)
		.assert_()
	)
@func()
async example(file: File): Promise<void> {
	return dag
		.shellcheck()
		.check(file)
		.assert()
}

fixed() 🔗

Return Type
File !
Example
func (m *myModule) example(file *File) *File  {
	return dag.
			Shellcheck().
			Check(file).
			Fixed()
}
@function
def example(file: dagger.File) -> dagger.File:
	return (
		dag.shellcheck()
		.check(file)
		.fixed()
	)
@func()
example(file: File): File {
	return dag
		.shellcheck()
		.check(file)
		.fixed()
}

Issue 🔗

filename() 🔗

Return Type
String !
Example
Function ShellcheckIssue.filename is not accessible from the shellcheck module
Function ShellcheckIssue.filename is not accessible from the shellcheck module
Function ShellcheckIssue.filename is not accessible from the shellcheck module

line() 🔗

Return Type
Integer !
Example
Function ShellcheckIssue.line is not accessible from the shellcheck module
Function ShellcheckIssue.line is not accessible from the shellcheck module
Function ShellcheckIssue.line is not accessible from the shellcheck module

lineEnd() 🔗

Return Type
Integer !
Example
Function ShellcheckIssue.lineEnd is not accessible from the shellcheck module
Function ShellcheckIssue.lineEnd is not accessible from the shellcheck module
Function ShellcheckIssue.lineEnd is not accessible from the shellcheck module

column() 🔗

Return Type
Integer !
Example
Function ShellcheckIssue.column is not accessible from the shellcheck module
Function ShellcheckIssue.column is not accessible from the shellcheck module
Function ShellcheckIssue.column is not accessible from the shellcheck module

columnEnd() 🔗

Return Type
Integer !
Example
Function ShellcheckIssue.columnEnd is not accessible from the shellcheck module
Function ShellcheckIssue.columnEnd is not accessible from the shellcheck module
Function ShellcheckIssue.columnEnd is not accessible from the shellcheck module

level() 🔗

Return Type
String !
Example
Function ShellcheckIssue.level is not accessible from the shellcheck module
Function ShellcheckIssue.level is not accessible from the shellcheck module
Function ShellcheckIssue.level is not accessible from the shellcheck module

code() 🔗

Return Type
Integer !
Example
Function ShellcheckIssue.code is not accessible from the shellcheck module
Function ShellcheckIssue.code is not accessible from the shellcheck module
Function ShellcheckIssue.code is not accessible from the shellcheck module

message() 🔗

Return Type
String !
Example
Function ShellcheckIssue.message is not accessible from the shellcheck module
Function ShellcheckIssue.message is not accessible from the shellcheck module
Function ShellcheckIssue.message is not accessible from the shellcheck module