Skip to content

docs: use zero value for bools with no default values #2815

Open
@Codelax

Description

@Codelax

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

A lot of fields don't have a default value set, we could set a default function for the default value. Bool are false per default, this could improve documentation

How I imagine scw could expose this functionality

> scw instance server create -h
...
  [ipv6=false]                         Enable IPv6
  [stopped=false]                      Do not start server after its creation
...

References

#2813

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions