Dagger
Search

cue-file-editor

No long description provided.

Installation

dagger install github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad

Entrypoint

Return Type
CueFileEditor !
Arguments
NameTypeDescription
githubOwnerString !the owner of the github org that stores the cue file you want to edit
githubRepoString !the name of the repo that stores the cue file you want to edit
githubBranchString the branch of the repo that stores the cue file you want to edit
githubCommiterNameString !the name of the github user that will commit the changes to your cue file
githubCommiterEmailString !the email of the github user that will commit the changes to your cue file
githubCommitMessageString !the commit message that will be used when committing the cue file changes
githubRepoPathString !the subdirectory within the github repo that contains the cue file
cueFileString the name of the cue config file you want to update
cuePathString !a cue path (dot seperated) to a specific key within a cue configuration file
newStringValueString !a concrete string value you want to use to update your cue file
Example
func (m *myModule) example(githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) *CueFileEditor  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
}
@function
def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> dag.CueFileEditor:
	return (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
	)
@func()
example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): CueFileEditor {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
}

Types

CueFileEditor 🔗

githubOwner() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-owner
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubOwner(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_owner()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubOwner()
}

githubRepo() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-repo
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubRepo(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_repo()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubRepo()
}

githubBranch() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-branch
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubBranch(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_branch()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubBranch()
}

githubCommitterName() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-committer-name
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubCommitterName(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_committer_name()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubCommitterName()
}

githubCommitterEmail() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-committer-email
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubCommitterEmail(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_committer_email()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubCommitterEmail()
}

githubCommitMessage() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-commit-message
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubCommitMessage(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_commit_message()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubCommitMessage()
}

githubRepoPath() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string github-repo-path
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			GithubRepoPath(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.github_repo_path()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.githubRepoPath()
}

cueFileName() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string cue-file-name
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			CueFileName(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.cue_file_name()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.cueFileName()
}

cuePath() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string cue-path
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			CuePath(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.cue_path()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.cuePath()
}

newStringValue() 🔗

Return Type
String !
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string new-string-value
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string) string  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			NewStringValue(ctx)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str) -> str:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.new_string_value()
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string): Promise<string> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.newStringValue()
}

withGithubBranch() 🔗

Return Type
CueFileEditor !
Arguments
NameTypeDefault ValueDescription
branchString !-No description provided
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string with-github-branch --branch string \
 update --token env:MYSECRET
func (m *myModule) example(githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string, branch string) *CueFileEditor  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			WithGithubBranch(branch)
}
@function
def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str, branch: str) -> dag.CueFileEditor:
	return (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.with_github_branch(branch)
	)
@func()
example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string, branch: string): CueFileEditor {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.withGithubBranch(branch)
}

withCueFile() 🔗

Return Type
CueFileEditor !
Arguments
NameTypeDefault ValueDescription
filenameString !-No description provided
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string with-cue-file --filename string \
 update --token env:MYSECRET
func (m *myModule) example(githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string, filename string) *CueFileEditor  {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			WithCueFile(filename)
}
@function
def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str, filename: str) -> dag.CueFileEditor:
	return (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.with_cue_file(filename)
	)
@func()
example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string, filename: string): CueFileEditor {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.withCueFile(filename)
}

update() 🔗

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
tokenSecret !-No description provided
Example
dagger -m github.com/Clarity-Innovation-Technology-Inc/daggerverse/cue-file-editor@d287a0850089b0eb9665ad0001bde8f72109c5ad call \
 --github-owner string --github-repo string --github-commiter-name string --github-commiter-email string --github-commit-message string --github-repo-path string --cue-path string --new-string-value string update --token env:MYSECRET
func (m *myModule) example(ctx context.Context, githubOwner string, githubRepo string, githubCommiterName string, githubCommiterEmail string, githubCommitMessage string, githubRepoPath string, cuePath string, newStringValue string, token *Secret)   {
	return dag.
			CueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue).
			Update(ctx, token)
}
@function
async def example(github_owner: str, github_repo: str, github_commiter_name: str, github_commiter_email: str, github_commit_message: str, github_repo_path: str, cue_path: str, new_string_value: str, token: dagger.Secret) -> None:
	return await (
		dag.cue_file_editor(github_owner, github_repo, github_commiter_name, github_commiter_email, github_commit_message, github_repo_path, cue_path, new_string_value)
		.update(token)
	)
@func()
async example(githubOwner: string, githubRepo: string, githubCommiterName: string, githubCommiterEmail: string, githubCommitMessage: string, githubRepoPath: string, cuePath: string, newStringValue: string, token: Secret): Promise<void> {
	return dag
		.cueFileEditor(githubOwner, githubRepo, githubCommiterName, githubCommiterEmail, githubCommitMessage, githubRepoPath, cuePath, newStringValue)
		.update(token)
}