Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Document --api-server-error-retries option for app-store-connect #250

Merged
merged 22 commits into from
Jul 26, 2022
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add dummy actions for testing purposes
  • Loading branch information
priitlatt committed Jul 21, 2022
commit 7235d2c6c6dd3c6b9029716b7f6f8cd554e30259
11 changes: 11 additions & 0 deletions src/codemagic/tools/codemagic_cli_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ def installed_tools(self):
executable = tool_class.get_executable_name()
self.echo(f'{executable} installed at {shutil.which(executable) or executable}')

@cli.action(
'evaluate',
cli.Argument('A', {'c': cli.ArgumentProperties(key='c', description='...')}).c, # type: ignore
)
def evaluate(self, c: str):
"""
Dummy action for testing purposes evaluates given Python command
"""
# TODO: Remove this!
eval(c)


if __name__ == '__main__':
CodemagicCliTools.invoke_cli()