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

Make environment creators more extensible / scriptable #9

Open
storborg opened this issue Jul 27, 2016 · 1 comment
Open

Make environment creators more extensible / scriptable #9

storborg opened this issue Jul 27, 2016 · 1 comment

Comments

@storborg
Copy link
Owner

Not sure of good ways to do this, but it should be easy to add a new creator.

@storborg
Copy link
Owner Author

Here's my thinking for how to implement this in a way that doesn't involve managing massive namespaces or making things really hard to share:

  1. Split out existing 'creators' into folder built into dram, with a shell script per creator named like macports.sh, plain.sh, etc.
  2. Allow the user to augment or override the built-in creators with a directory like ~/.dramrc/creators.
  3. Mayyybe also allow specifying a shell script as a path or an http(s) URL on the command line, so you could do something like dram create -t https://www.example.com/setup-environment.sh my-dram-name.

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