cli/pkg/cmd/root
Mislav Marohnić d534a94d1b Change how base repository is resolved
On first run in a git repository, `BaseRepo()` will now prompt the user
which repository should be queried as base repository if there are
multiple git remotes or when we are in the context of a fork.

In non-interactive mode, the prompt is skipped and we default to the
first git remote instead.

After the base repo is resolved, the result is cached in the local
repository using `git config` so that RepositoryNetwork API lookups can
be avoided in the future.
2020-09-15 21:27:12 +02:00
..
completion.go print nice login message when no auth detected 2020-08-18 17:57:52 -05:00
completion_test.go Migrate completion command 2020-08-07 15:22:49 +02:00
help.go Expand help topic functionality 2020-09-14 17:50:50 +02:00
help_test.go Offer different editor modes during release create 2020-08-25 20:20:44 +02:00
help_topic.go Add tests for help topics 2020-09-14 22:27:17 +02:00
help_topic_test.go Add tests for help topics 2020-09-14 22:27:17 +02:00
root.go Change how base repository is resolved 2020-09-15 21:27:12 +02:00
root_test.go Extract root command and factory logic into separate packages 2020-08-07 14:40:33 +02:00