Dagger
Search

linguist

No long description provided.

Installation

dagger install github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4

Entrypoint

Return Type
Linguist
Example
dagger -m github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4 call \
func (m *MyModule) Example() *dagger.Linguist  {
	return dag.
			Linguist()
}
@function
def example() -> dagger.Linguist:
	return (
		dag.linguist()
	)
@func()
example(): Linguist {
	return dag
		.linguist()
}

Types

Linguist 🔗

Build Linguist and analyze a git repository

src() 🔗

The directory containing the source code to analyze

Return Type
Directory !
Example
dagger -m github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4 call \
 src
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Linguist().
			Src()
}
@function
def example() -> dagger.Directory:
	return (
		dag.linguist()
		.src()
	)
@func()
example(): Directory {
	return dag
		.linguist()
		.src()
}

repo() 🔗

The Linguist GitHub repository to build

Return Type
String 
Example
dagger -m github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4 call \
 repo
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Linguist().
			Repo(ctx)
}
@function
async def example() -> str:
	return await (
		dag.linguist()
		.repo()
	)
@func()
async example(): Promise<string> {
	return dag
		.linguist()
		.repo()
}

commit() 🔗

The Git commit for the Linguist repository to use

Return Type
String 
Example
dagger -m github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4 call \
 commit
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Linguist().
			Commit(ctx)
}
@function
async def example() -> str:
	return await (
		dag.linguist()
		.commit()
	)
@func()
async example(): Promise<string> {
	return dag
		.linguist()
		.commit()
}

run() 🔗

Run the github-linguist tool on the source code

Return Type
String !
Arguments
NameTypeDefault ValueDescription
fileString ""No description provided
revString ""No description provided
breakdownBoolean falseNo description provided
jsonBoolean falseNo description provided
Example
dagger -m github.com/helderco/daggerverse/linguist@2b3439af53ac0232a39b3589dc65bf3fb171c2e4 call \
 run
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Linguist().
			Run(ctx)
}
@function
async def example() -> str:
	return await (
		dag.linguist()
		.run()
	)
@func()
async example(): Promise<string> {
	return dag
		.linguist()
		.run()
}