Skip to content

Commit 5a61dd2

Browse files
committed
first commit
0 parents  commit 5a61dd2

File tree

11 files changed

+329
-0
lines changed

11 files changed

+329
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/target
2+
.editorconfig
3+
.DS_Store
4+
Session.vim
5+
.env

Cargo.lock

Lines changed: 246 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "jbash-cli"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
anyhow = "1.0.86"
8+
clap = "4.5.4"
9+
thiserror = "1.0.61"

src/ash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pub mod entrypoint;
2+
pub use entrypoint::*;

src/ash/entrypoint.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use crate::errors::*;
2+
use anyhow::Result;
3+
4+
pub fn run() -> Result<()> {
5+
// Add your work here Ash, go crazy!
6+
Err(HackathonError::NoSubmission(String::from("Ash")).into())
7+
}

src/errors.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use thiserror::Error;
2+
3+
#[derive(Error, Debug)]
4+
pub enum HackathonError {
5+
#[error("di gumawa si {0}")]
6+
NoSubmission(String),
7+
}

src/jb.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pub mod entrypoint;
2+
pub use entrypoint::*;

src/jb/entrypoint.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
use crate::errors::*;
2+
use anyhow::Result;
3+
4+
pub fn run() -> Result<()> {
5+
// Add your work here JB, go crazy!
6+
Err(HackathonError::NoSubmission(String::from("JB")).into())
7+
}

src/kristian.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pub mod entrypoint;
2+
pub use entrypoint::*;

src/kristian/entrypoint.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/// thisweek-cli
2+
use crate::errors::*;
3+
use anyhow::Result;
4+
5+
pub fn run() -> Result<()> {
6+
Err(HackathonError::NoSubmission(String::from("Kristian")).into())
7+
}

0 commit comments

Comments
 (0)