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

add action create --copy #134

Open
rabbah opened this issue Mar 10, 2020 · 1 comment
Open

add action create --copy #134

rabbah opened this issue Mar 10, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rabbah
Copy link
Contributor

rabbah commented Mar 10, 2020

Is your feature request related to a problem? Please describe.
Sometimes, it is convenient to create an action by copying an other. The wsk cli supports wsk action create newAction --copy oldAction as an example.

Describe the solution you'd like
Allow action create with --copy as convenience to copying an existing action to a new name.

Describe alternatives you've considered
The alternative is to manually get the action, and save the code, params and annotations to files then recreate the action.

@meryllblanchet meryllblanchet added enhancement New feature or request help wanted Extra attention is needed labels Mar 16, 2020
@purplecabbage
Copy link
Member

aio runtime:action:create --copy ACTIONNAME [ACTIONPATH]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants