Skip to content

feat: add command base #279

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

Merged
merged 1 commit into from
Jun 27, 2022
Merged

feat: add command base #279

merged 1 commit into from
Jun 27, 2022

Conversation

gabor-boros
Copy link
Member

Reason for the change

Creating a base for porting management commands of the 2.4.x driver.

Description

This PR creates the base and structure for management commands:

  • dump
  • export
  • import
  • index_rebuild
  • repl
  • restore

Code examples

# Calling the dump command
$ rethinkdb-dump
# ... or ...
$ rethinkdb dump

# Calling the export command
$ rethinkdb-export
# ... or ...
$ rethinkdb export

# Calling the import command
$ rethinkdb-import
# ... or ...
$ rethinkdb import

# Calling the index_rebuild command
$ rethinkdb-index_rebuild
# ... or ...
$ rethinkdb index_rebuild

# Calling the repl command
$ rethinkdb-repl
# ... or ...
$ rethinkdb repl

# Calling the restore command
$ rethinkdb-restore
# ... or ...
$ rethinkdb restore

Checklist

References
N/A

Signed-off-by: Gabor Boros <[email protected]>
@gabor-boros gabor-boros added the enhancement New feature or request label Jun 27, 2022
@gabor-boros gabor-boros self-assigned this Jun 27, 2022
@gabor-boros gabor-boros merged commit 2c5951a into gabor/python3-v2.5.0 Jun 27, 2022
@gabor-boros gabor-boros deleted the gabor/cli-bases branch February 9, 2023 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant