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

Add .help command. #160

Merged
merged 1 commit into from
Aug 24, 2020
Merged

Add .help command. #160

merged 1 commit into from
Aug 24, 2020

Conversation

tzzed
Copy link
Contributor

@tzzed tzzed commented Aug 21, 2020

This PR fixes #158.
The .help command list all the available dot command.
A message Enter ".help" for usage hints is displayed at genji launch.

On-disk database using BoltDB engine at path my.db.
**.**
genji> .help
.exit 			        Exit genji program
.help 			        List all available dot commands
.indexes [table_name] 	Display all indexes of the database or that the given table_name
.tables 		                 List names of tables

Copy link
Collaborator

@asdine asdine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just a few cosmetic changes

cmd/genji/shell/command.go Outdated Show resolved Hide resolved
cmd/genji/shell/command.go Outdated Show resolved Hide resolved
cmd/genji/shell/command.go Outdated Show resolved Hide resolved
cmd/genji/shell/command.go Show resolved Hide resolved
cmd/genji/shell/shell.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@asdine asdine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@asdine asdine merged commit 3e571f1 into chaisql:master Aug 24, 2020
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 this pull request may close these issues.

List all genji commands
2 participants