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 admin commands #273

Closed
4 of 6 tasks
hackerwins opened this issue Nov 19, 2021 · 1 comment · Fixed by #366
Closed
4 of 6 tasks

Add admin commands #273

hackerwins opened this issue Nov 19, 2021 · 1 comment · Fixed by #366
Labels
enhancement 🌟 New feature or request good first issue 🐤 Good for newcomers

Comments

@hackerwins
Copy link
Member

hackerwins commented Nov 19, 2021

Description:

Add admin commands.

Let's implement admin commands, starting with finding and deleting documents.

# starts server
$ yorkie server
INFO	default	backend created: id: ca81i5jhkdflkq76edr0, rpc: localhost:11103: db: memory
INFO	default	serving profiling on 11102
INFO	default	serving RPC on 11101
INFO	default	serving admin on 11103

$ yorkie --admin-addr localhost:11103 document describe <doc-key>
$ yorkie --admin-addr localhost:11103 document rm <doc-key>

Task

  • Create project: yorkie project create <name>
  • List projects: yorkie project ls
  • History: yorkie history <project_name> <document_key>
  • List documents: yorkie document ls <project_name>
  • Remove project: yorkie project rm <name>
  • Remove document: yorkie document rm <project_name> <document_key>

Why:

  • Users can manage documents or projects using CLI.
@hackerwins hackerwins added the enhancement 🌟 New feature or request label Nov 19, 2021
@hackerwins hackerwins moved this to Todo in v0.2 Nov 20, 2021
@hackerwins hackerwins added this to v0.2 Nov 20, 2021
@hackerwins hackerwins removed this from v0.2 Dec 14, 2021
@hackerwins hackerwins added this to v0.3 Dec 14, 2021
@hackerwins hackerwins moved this to Todo in v0.3 Dec 14, 2021
@zacscoding
Copy link
Contributor

can i try this issue? 🙇 cc. @dc7303

@hackerwins hackerwins mentioned this issue Apr 20, 2022
2 tasks
This was referenced Apr 29, 2022
@hackerwins hackerwins added the good first issue 🐤 Good for newcomers label May 14, 2022
@Eithea Eithea mentioned this issue Jul 21, 2022
2 tasks
Repository owner moved this from Todo to Done in v0.3 Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🌟 New feature or request good first issue 🐤 Good for newcomers
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants