[Cool Feature]: Scripts creation and remote installs #104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This adds
dotly
context in core scripts. This PR adds:dot dotly install-remote <context> <remote-script-raw-url>
with this command you can install a remote script in the defined context of your$DOTFILES_PATH/scripts
folder.dot dotly create <context> <script_name> [<description>]
this makes easier the task to create a script avoiding common possible issues by not applying execution "chmod" to the script file. It also provides a complete template example so the user will have a good documentation by example.dot dotly dev
prints export variablesDOTFILES_PATH
and/orDOTLY_PATH
when developing if you are developing the dotly core. Use thedotly_dev
alias makes the usage simpler. You must be in the develop folder of your dotly fork.Motivation
I consider to make a better way to create the scripts by creating also a git repository by context but the features of a marketplace like that should be considered by dotly core team and not by independent dev. So I just makes easier the task to download a place in a context a script.
@rgomezcasas when you have time, publishing a Roadmap could be helpful to do some more stuff.