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 update_from_file & edit_def commands to /apps/APP and /apps/APP/vms/VM #97

Closed
ryran opened this issue Jan 22, 2017 · 1 comment
Closed
Assignees

Comments

@ryran
Copy link
Owner

ryran commented Jan 22, 2017

The update_from_file cmd will take a file argument and if it loads as proper json content with the skeleton of an app or vm, it will be passed to the appropriate API call to update said app or vm.

The edit_def cmd will retrieve the design aspect of the APP or VM and save it to a tempfile and then open up that with a text editor -- in order: $RAVSH_EDITOR, $EDITOR, gvim, vim, vi. After the subprocess has finished, it will essentially call update_from_file against the file.

@ryran ryran self-assigned this Jan 22, 2017
@ryran
Copy link
Owner Author

ryran commented Feb 14, 2017

Tracking in #128

@ryran ryran closed this as completed Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant