Compare commits
3 Commits
41d5e49c4f
...
eb7858be7c
Author | SHA1 | Date | |
---|---|---|---|
|
eb7858be7c | ||
018e0ece7e | |||
0dd339dfc5 |
@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.1] - 2024-09-12
|
||||
|
||||
### Docs
|
||||
- add readme
|
||||
|
||||
## [0.1.0] - 2024-09-12
|
||||
|
||||
### Added
|
||||
|
@ -3,7 +3,7 @@ members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
|
||||
[workspace.dependencies]
|
||||
gitnow = { path = "crates/gitnow" }
|
||||
|
16
README.md
16
README.md
@ -1,4 +1,20 @@
|
||||
# Git Now
|
||||
|
||||
Git Now is a utility for easily navigating git projects from common upstream providers. Search, Download, and Enter projects as quickly as you can type.
|
||||
|
||||
How many steps do you normally do to download a project?
|
||||
|
||||
1. Navigate to github.com
|
||||
2. Search in your org for the project
|
||||
3. Find the clone url
|
||||
4. Navigate to your local github repositories path
|
||||
5. Git clone `<project>`
|
||||
6. Enter new project directory
|
||||
|
||||
A power user can of course use `gh repo clone` to skip a few steps.
|
||||
|
||||
With gitnow
|
||||
|
||||
1. `git now`
|
||||
2. Enter parts of the project name and press enter
|
||||
3. Your project is automatically downloaded if it doesn't exist in an opinionated path dir, and move you there.
|
||||
|
@ -2,7 +2,7 @@ use anyhow::Context;
|
||||
use clap::{Parser, Subcommand};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(author, version, about, long_about = None, subcommand_required = true)]
|
||||
#[command(author, version, about, long_about = Some("Navigate git projects at the speed of thought"))]
|
||||
struct Command {
|
||||
#[command(subcommand)]
|
||||
command: Option<Commands>,
|
||||
@ -21,8 +21,9 @@ async fn main() -> anyhow::Result<()> {
|
||||
let cli = Command::parse();
|
||||
tracing::debug!("Starting cli");
|
||||
|
||||
if let Some(Commands::Hello {}) = cli.command {
|
||||
println!("Hello!")
|
||||
match cli.command {
|
||||
Some(_) => todo!(),
|
||||
None => todo!(),
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
@ -13,3 +13,5 @@ please:
|
||||
branch: "main"
|
||||
settings:
|
||||
api_url: "https://git.front.kjuulh.io"
|
||||
actions:
|
||||
rust:
|
||||
|
Loading…
Reference in New Issue
Block a user