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

[Cool Feature]: Scripts creation and remote installs #104

Closed
wants to merge 8 commits into from
Closed

[Cool Feature]: Scripts creation and remote installs #104

wants to merge 8 commits into from

Conversation

gtrabanco
Copy link
Contributor

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 variables DOTFILES_PATH and/or DOTLY_PATH when developing if you are developing the dotly core. Use the dotly_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.

@rgomezcasas rgomezcasas self-requested a review February 23, 2021 16:31
…proved the template to add a semver version to the script
…r me makes sense to define the command name as "dot $context $script_name"
@gtrabanco gtrabanco changed the title Feature: Scripts creation and remote installs [Cool Feature]: Scripts creation and remote installs Mar 13, 2021
@gtrabanco
Copy link
Contributor Author

When you review this PR, if Deno is finished just contact me to add the option to create a typescript script:

dot dotly create --typescript <context> <script_name> <description>

@gtrabanco
Copy link
Contributor Author

gtrabanco commented Mar 28, 2021

This is closed because it is duplicated functionality

@gtrabanco gtrabanco closed this Mar 28, 2021
@gtrabanco gtrabanco deleted the feature/marketplace branch April 2, 2021 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant