shellcheck
No long description provided.
Installation
dagger install github.com/AmirulAndalib/dagger/modules/shellcheck@db2ca86e8e4a07f089723f88410127bf5f858e2bEntrypoint
Return Type
Shellcheck Example
dagger -m github.com/AmirulAndalib/dagger/modules/shellcheck@db2ca86e8e4a07f089723f88410127bf5f858e2b 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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:pathfunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
issuesfunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
j-s-o-nfunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
reportfunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
fixed-difffunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
assertfunc (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@db2ca86e8e4a07f089723f88410127bf5f858e2b call \
check --file file:path \
fixedfunc (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 moduleFunction ShellcheckIssue.filename is not accessible from the shellcheck moduleFunction ShellcheckIssue.filename is not accessible from the shellcheck moduleFunction ShellcheckIssue.filename is not accessible from the shellcheck moduleline() 🔗
Return Type
Integer ! Example
Function ShellcheckIssue.line is not accessible from the shellcheck moduleFunction ShellcheckIssue.line is not accessible from the shellcheck moduleFunction ShellcheckIssue.line is not accessible from the shellcheck moduleFunction ShellcheckIssue.line is not accessible from the shellcheck modulelineEnd() 🔗
Return Type
Integer ! Example
Function ShellcheckIssue.lineEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.lineEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.lineEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.lineEnd is not accessible from the shellcheck modulecolumn() 🔗
Return Type
Integer ! Example
Function ShellcheckIssue.column is not accessible from the shellcheck moduleFunction ShellcheckIssue.column is not accessible from the shellcheck moduleFunction ShellcheckIssue.column is not accessible from the shellcheck moduleFunction ShellcheckIssue.column is not accessible from the shellcheck modulecolumnEnd() 🔗
Return Type
Integer ! Example
Function ShellcheckIssue.columnEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.columnEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.columnEnd is not accessible from the shellcheck moduleFunction ShellcheckIssue.columnEnd is not accessible from the shellcheck modulelevel() 🔗
Return Type
String ! Example
Function ShellcheckIssue.level is not accessible from the shellcheck moduleFunction ShellcheckIssue.level is not accessible from the shellcheck moduleFunction ShellcheckIssue.level is not accessible from the shellcheck moduleFunction ShellcheckIssue.level is not accessible from the shellcheck modulecode() 🔗
Return Type
Integer ! Example
Function ShellcheckIssue.code is not accessible from the shellcheck moduleFunction ShellcheckIssue.code is not accessible from the shellcheck moduleFunction ShellcheckIssue.code is not accessible from the shellcheck moduleFunction ShellcheckIssue.code is not accessible from the shellcheck modulemessage() 🔗
Return Type
String ! Example
Function ShellcheckIssue.message is not accessible from the shellcheck moduleFunction ShellcheckIssue.message is not accessible from the shellcheck moduleFunction ShellcheckIssue.message is not accessible from the shellcheck moduleFunction ShellcheckIssue.message is not accessible from the shellcheck module