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

override the 'app user data directory' from command line #2

Open
benjaminfjones opened this issue Apr 29, 2015 · 1 comment
Open

override the 'app user data directory' from command line #2

benjaminfjones opened this issue Apr 29, 2015 · 1 comment

Comments

@benjaminfjones
Copy link

cabin is super useful, thanks for making it!

I was wondering if you could support setting the app data directory from the command line? Currently it looks like cabin uses getAppUserDataDirectory which results in $HOME/.cabin.

There are situations where you might like to have several .cabin dirs and use a flag to choose the appropriate one in each invocation. My specific use case is having to deal with an NSF mounted home directory and use haskell binaries on two different (incompatible) platforms.

@nc6
Copy link
Owner

nc6 commented May 18, 2015

Sorry for the delay in responding. Yes, that seems a perfectly reasonable thing to do - will take a tiny rewrite to make it work, but shouldn't be a problem. Will take a look at it maybe sometime later this week.

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

No branches or pull requests

2 participants