Create a new Push command with default settings. # Example ```rust use atomic::commands::push::Push; let push = Push::new(); assert!(push.remote.is_none()); assert!(!push.dry_run); ```
()
| 260 | /// assert!(!push.dry_run); |
| 261 | /// ``` |
| 262 | pub fn new() -> Self { |
| 263 | Self { |
| 264 | remote: None, |
| 265 | to_view: None, |
| 266 | from_view: None, |
| 267 | dry_run: false, |
| 268 | force: false, |
| 269 | all: false, |
| 270 | insecure: false, |
| 271 | timeout: DEFAULT_TIMEOUT_SECS, |
| 272 | identity: None, |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | /// Builder: set the remote name or URL. |
| 277 | pub fn with_remote(mut self, remote: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected