Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

default behavior if no args passed #43

Closed
schultyy opened this issue Jan 26, 2016 · 2 comments
Closed

default behavior if no args passed #43

schultyy opened this issue Jan 26, 2016 · 2 comments

Comments

@schultyy
Copy link
Member

I'm currently thinking of what should happen if the user passes no args. Right now semantic-rs takes the current directory as working directory into account. But when installed on a system and not run via cargo I guess this won't work anymore because the current dir is then something like /usr/local/ or ~/.bin. My proposal here is that the user just gets the help text printed and they need to pass a path to a repository explicitly.

@badboy
Copy link
Member

badboy commented Jan 26, 2016

If it is installed in a directory and executed from your project's folder (because it is in the PATH), the current working directory will be the project's folder just as expected. Though as said in #39 it should likely only run dry.

@badboy badboy closed this as completed Feb 23, 2016
@badboy
Copy link
Member

badboy commented Feb 23, 2016

Dry-run is now the default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants