Compare commits

..

3 Commits

Author SHA1 Message Date
cuddle-please
eb7858be7c chore(release): 0.1.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-09-12 17:28:30 +00:00
018e0ece7e
docs: add readme
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-09-12 19:27:35 +02:00
0dd339dfc5 chore(release): v0.1.0 (#1)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(release): 0.1.0

Co-authored-by: cuddle-please <bot@cuddle.sh>
Reviewed-on: #1
2024-09-12 19:27:08 +02:00
5 changed files with 28 additions and 4 deletions

View File

@ -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

View File

@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.1.0"
version = "0.1.1"
[workspace.dependencies]
gitnow = { path = "crates/gitnow" }

View File

@ -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.

View File

@ -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(())

View File

@ -13,3 +13,5 @@ please:
branch: "main"
settings:
api_url: "https://git.front.kjuulh.io"
actions:
rust: