Skip to content

Commit

Permalink
feat: 0.0.3 - Prep AmbosoEnv (#27)
Browse files Browse the repository at this point in the history
- Extend AmbosoEnv
- Set AmbosoEnv field to return it from check_passed_args()
- Add AmbosoMode
- Stub handle_amboso_env()
- Bump version to 0.0.3
  • Loading branch information
jgabaut authored Nov 30, 2023
1 parent c7c0399 commit 933641d
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 37 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Changelog

## [Unreleased]

## [0.0.3] - 2023-11-30

### Added

- AmbosoMode enum definition
- Basic logic to set anvil_env/args value
- Stub handle_amboso_env()

### Fixed

- Added changelog to repo

### Changed

- Extended AmbosoEnv, now includes runmode, selected ops, testmode and makemode support for the run
- Moved some output to trace level
- main() returns ExitCode
- check_passed_args() returns Result<AmbosoEnv,String>

## [0.0.2] - 2023-11-29

### Added

- AmbosoEnv struct definition
- Basic logic to parse amboso_dir/stego.lock as toml
- is_git_repo_clean() to check if working dir status when in git mode

### Fixed

- Set args.git to true when no other runmode is specified

### Changed

- Return early on calls with warranty flag
- Upgrade dependencies: clap 4.4.10

## [0.0.1] - 2023-11-28

### Added

- Basic argument parsing that mostly complies with the bash implementation
- Default for amboso directory ("./bin")
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "invil"
description = "A port of amboso to Rust"
version = "0.0.2"
version = "0.0.3"
edition = "2021"
license = "GPL-3.0-only"
homepage = "https://github.com/jgabaut/invil"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

- Basic arguments parsing that complies with the bash implementation
- Same default for amboso directory (`./bin`).
- Parse `stego.lock` with compatible logic to bash implementation

## See how it behaves <a name = "try_anvil"></a>

Expand All @@ -34,7 +35,6 @@ Our version was slightly modified to actually make cargo build the release versi

## Todo <a name = "todo"></a>

- Parse `stego.lock` with compatible logic to bash implementation
- Check all runtime values are valid before op checks
- Implement control flow for op checks
- Implement quiet, verbose, silent functionality
Expand Down
Loading

0 comments on commit 933641d

Please sign in to comment.