hackmdio / hackmdio/hackmd-cli
Feature Request: Change the permission of a note
- Linguagem predominante
- TypeScript
- Estrelas
- 176
- Forks
- 13
- Merge médio
- 1d 4h
- PRs com merge (30d)
- 5
Descrição
There is no easy way to change note's permission in mass. While I can mass import Markdown note with this CLI, I cannot seem to control the permission of those notes with CLI. And it is a painstakingly long process to do it one-by-one on the web GUI.
It would be great if there is a command like this:
```
hackmd-cli chmod [NOTEID] [[-r|--readable] [owner|login|everyone]] [[-w|--writable] [owner|login|everyone]]
```
Example,
```
$ hackmd-cli chmod some-note-id -r everyone -w login
Permission of your note https://hackmd.io/some-note-id has changed.
Readable: everyone
Writable: login
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Start by reviewing the existing CLI path for mass Markdown note import and how note identifiers are handled. Then determine how the proposed chmod arguments map to HackMD permissions and verify the command's success output and readable/writable settings for owner, login, and everyone.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- authorization, cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100