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

Change init command to create a usable example file #56

Open
holmboe opened this issue Mar 29, 2023 · 0 comments · May be fixed by #63
Open

Change init command to create a usable example file #56

holmboe opened this issue Mar 29, 2023 · 0 comments · May be fixed by #63

Comments

@holmboe
Copy link
Contributor

holmboe commented Mar 29, 2023

When running the subgit init command you are rewarded with an empty config file. This doesn't help the user of subgit in any usable way. We should look to vagrant init as a good example on how to do this.

Current behaviour:

$ subgit init
$ cat .subgit.yml
repos: {}

Expected behaviour:

$ subgit init
$ cat .subgit.yml
repos:
  subgit:
    url: [email protected]:dynamist/subgit.git
    revision:
      branch: master

We could even include comments for each key (url, revision, etc).

@Grokzen Grokzen linked a pull request Sep 1, 2023 that will close this issue
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 a pull request may close this issue.

1 participant