Create a new Create command with default settings.
()
| 120 | impl Create { |
| 121 | /// Create a new Create command with default settings. |
| 122 | pub fn new() -> Self { |
| 123 | Self { |
| 124 | name: None, |
| 125 | message: None, |
| 126 | author: None, |
| 127 | view: None, |
| 128 | force: false, |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | /// Create a new Create command with the given tag name. |
| 133 | pub fn with_name(name: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected