shellcheck
No long description provided.
Installation
dagger install github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a
Entrypoint
Return Type
Shellcheck
Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
func (m *MyModule) Example() *dagger.Shellcheck {
return dag.
Shellcheck()
}
@function
def example() -> dagger.Shellcheck:
return (
dag.shellcheck()
)
@func()
example(): Shellcheck {
return dag
.shellcheck()
}
Types
Shellcheck 🔗
check() 🔗
Report the issues that need to be fix on a given file.
Return Type
Report !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
file | File ! | - | No description provided |
Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path
func (m *MyModule) Example(file *dagger.File) *dagger.ShellcheckReport {
return dag.
Shellcheck().
Check(file)
}
@function
def example(file: dagger.File) -> dagger.ShellcheckReport:
return (
dag.shellcheck()
.check(file)
)
@func()
example(file: File): ShellcheckReport {
return dag
.shellcheck()
.check(file)
}
Report 🔗
issues() 🔗
Return Type
[Issue ! ] !
Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
issues
func (m *MyModule) Example(file *dagger.File) []*dagger.ShellcheckIssue {
return dag.
Shellcheck().
Check(file).
Issues()
}
@function
def example(file: dagger.File) -> List[dagger.ShellcheckIssue]:
return (
dag.shellcheck()
.check(file)
.issues()
)
@func()
example(file: File): ShellcheckIssue[] {
return dag
.shellcheck()
.check(file)
.issues()
}
jSon() 🔗
Return Type
String !
Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
j-s-o-n
func (m *MyModule) Example(ctx context.Context, file *dagger.File) string {
return dag.
Shellcheck().
Check(file).
JSON(ctx)
}
@function
async def example(file: dagger.File) -> str:
return await (
dag.shellcheck()
.check(file)
.j_s_o_n()
)
@func()
async example(file: File): Promise<string> {
return dag
.shellcheck()
.check(file)
.jSON()
}
report() 🔗
Return Type
String !
Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
report
func (m *MyModule) Example(ctx context.Context, file *dagger.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
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
fixed-diff
func (m *MyModule) Example(ctx context.Context, file *dagger.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
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
assert
func (m *MyModule) Example(ctx context.Context, file *dagger.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
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@cd807e1c6a100086765b834100a2ea9ff5712f0a call \
check --file file:path \
fixed
func (m *MyModule) Example(file *dagger.File) *dagger.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
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
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
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
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
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
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
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
Function ShellcheckIssue.message is not accessible from the shellcheck module