I did not find how to create an issue non-interactively.
Attempt #1:
> berg --non-interactive issue create --title "test" --description "test description"
? Choose optional properties
> [ ] Labels
[ ] Assignees
[ ] Milestone
[↑↓ to move, space to select one, → to all, ← to none, type to filter]
Attempt #2:
> berg --non-interactive issue create --title "test" --description "test description" --labels "" --assignees "" --milestone ""
┌─────────────────────────────────────────────────────────────────────────┐
│ There's nothing to select from │
│ │
│ Caused by: │
│ The prompt configuration is invalid: Available options can not be empty │
└─────────────────────────────────────────────────────────────────────────┘
For context, I am writing a script to migrate some projects from sourcehut, and using codeberg-cli looks like a good option.
I did not find how to create an issue non-interactively.
Attempt #1:
```shell
> berg --non-interactive issue create --title "test" --description "test description"
? Choose optional properties
> [ ] Labels
[ ] Assignees
[ ] Milestone
[↑↓ to move, space to select one, → to all, ← to none, type to filter]
```
Attempt #2:
```shell
> berg --non-interactive issue create --title "test" --description "test description" --labels "" --assignees "" --milestone ""
┌─────────────────────────────────────────────────────────────────────────┐
│ There's nothing to select from │
│ │
│ Caused by: │
│ The prompt configuration is invalid: Available options can not be empty │
└─────────────────────────────────────────────────────────────────────────┘
```
For context, I am writing a script to migrate some projects from [sourcehut](https://sr.ht), and using `codeberg-cli` looks like a good option.