Onset: version control where nobody waits and nothing gets lost. The on command, its core and onset-server.
| /// Gets a token by sending the person to their host's sign-in page. |
| 6 | pub fn browser(host: &str, _api: &str) -> Result<String, Fail> { |
| 7 | Err(Fail::new("bad_usage", format!("signing in to {host} through the browser isn't available yet")) |
| 8 | .state("nothing changed") |
| 9 | .next(format!("vcs login {host} --token <token>"))) |
| 10 | } |
| 11 |