protolint
No long description provided.
Installation
dagger install github.com/fcanovai/daggerverse/protolint@16f9da2e6e21f815eb4dd09fa9f605d15a90431bEntrypoint
Return Type
Protolint !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| image | String | "yoheimuta/protolint:0.50.5" | Protolint image to use. renovate image: datasource=docker depName=yoheimuta/protolint versioning=docker | 
Example
dagger -m github.com/fcanovai/daggerverse/protolint@16f9da2e6e21f815eb4dd09fa9f605d15a90431b call \
func (m *MyModule) Example() *dagger.Protolint  {
	return dag.
			Protolint()
}@function
def example() -> dagger.Protolint:
	return (
		dag.protolint()
	)@func()
example(): Protolint {
	return dag
		.protolint()
}Types
Protolint 🔗
lint() 🔗
Lint runs protolint on proto files.
Example usage: dagger call lint –source /path/ –args “-config_path=.protolint.yaml” –args .
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory ! | - | The directory of the repository. | 
| args | [String ! ] | - | A list of arguments to pass to commitlint. | 
Example
dagger -m github.com/fcanovai/daggerverse/protolint@16f9da2e6e21f815eb4dd09fa9f605d15a90431b call \
 lint --source DIR_PATHfunc (m *MyModule) Example(source *dagger.Directory) *dagger.Container  {
	return dag.
			Protolint().
			Lint(source)
}@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.protolint()
		.lint(source)
	)@func()
example(source: Directory): Container {
	return dag
		.protolint()
		.lint(source)
}