-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add sql subcommand for gitbase mysql client #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing docs, entry in changelog
cmd/sourced/cmd/sql.go
Outdated
) | ||
|
||
type sqlCmd struct { | ||
Command `name:"sql" short-description:"Open a mysql client connected for gitbase" long-description:"Open a mysql client connected for gitbase"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command `name:"sql" short-description:"Open a mysql client connected for gitbase" long-description:"Open a mysql client connected for gitbase"` | |
Command `name:"sql" short-description:"Open a MySQL client connected to gitbase" long-description:"Open a MySQL client connected to gitbase"` |
Will it work on windows? |
Thanks! Re-pushed with updated documentation. It should work on windows. (at least |
CHANGELOG.md
Outdated
@@ -16,6 +16,7 @@ The `sourced` binary is a wrapper for Docker Compose that downloads the `docker- | |||
- `stop`: Stop running containers | |||
- `start`: Start stopped containers | |||
- `web`: Open the web interface in your browser | |||
- `sql`: Open a MySQL client connected for gitbase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `sql`: Open a MySQL client connected for gitbase | |
- `sql`: Open a MySQL client connected to gitbase |
README.md
Outdated
sourced sql | ||
``` | ||
|
||
Open a MySQL client connected for gitbase. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open a MySQL client connected for gitbase. | |
Open a MySQL client connected to gitbase. |
cmd/sourced/cmd/sql.go
Outdated
) | ||
|
||
type sqlCmd struct { | ||
Command `name:"sql" short-description:"Open a MySQL client connected for gitbase" long-description:"Open a MySQL client connected for gitbase"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command `name:"sql" short-description:"Open a MySQL client connected for gitbase" long-description:"Open a MySQL client connected for gitbase"` | |
Command `name:"sql" short-description:"Open a MySQL client connected to gitbase" long-description:"Open a MySQL client connected to gitbase"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 after the for/to text change
Signed-off-by: Maxim Sukharev <max@smacker.ru>
for/to changed |
Signed-off-by: Maxim Sukharev max@smacker.ru