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

Load/import configuration without the use of the extension #160

Closed
fpietka opened this issue May 29, 2016 · 6 comments
Closed

Load/import configuration without the use of the extension #160

fpietka opened this issue May 29, 2016 · 6 comments
Labels
Milestone

Comments

@fpietka
Copy link
Contributor

@fpietka fpietka commented May 29, 2016

Would be nice to be able to load (or import) configuration without having to write the extension:

$ tmuxp load myproject

instead of

$ tmuxp load myproject.yaml

also for import:

$ tmuxp import tmuxinator myproject
@tony
Copy link
Member

@tony tony commented May 29, 2016

It'd be better if tmuxp could just load from tmuxinator configs. the good news its import gets us a lot of the way there.

@fpietka
Copy link
Contributor Author

@fpietka fpietka commented May 29, 2016

worked like a charm for me 👍

@tony
Copy link
Member

@tony tony commented May 31, 2016

#164

It is more flexible than ever. In addition to being able to load up configs by name from any dir. You can also target directories that contain .tmuxp.{json,yml,yaml} relatively and absolutely.

If you want to test it, its in the https://github.com/tony/tmuxp/tree/click branch.

@tony
Copy link
Member

@tony tony commented May 31, 2016

I don't know if teamocil/tmuxinator's conversions are good enough to load directly. I don't think the behavior would be 100%, it's probably at about 80-85% atm. I need to double check things like pre: get translated and behave like they would on tmuxp.

@tony
Copy link
Member

@tony tony commented Jun 1, 2016

@fpietka landed in v1.1.0 on pypi now

@tony tony closed this Jun 1, 2016
@oschrenk
Copy link

@oschrenk oschrenk commented Jun 1, 2016

Sweet. I was actually about my own fish script to do this. Thanks for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants