chore(version): bump to 0.0.7 #7
5 changed files with 20 additions and 21 deletions
|
@ -11,5 +11,5 @@
|
|||
- [X] commit with edit works
|
||||
- [X] Repo Flags Finished
|
||||
- [ ] Category Flags Finished
|
||||
- [ ] Optional Fields
|
||||
- [-] Optional Fields
|
||||
- [ ] Subcommands
|
||||
|
|
|
@ -68,7 +68,8 @@ pub struct Config {
|
|||
/// This allows you to organize your repositories into categories
|
||||
#[derive(PartialEq, Debug, Serialize, Deserialize)]
|
||||
pub struct Category {
|
||||
pub flags: Vec<RepoFlags>, // FIXME: not implemented
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub flags: Option<Vec<RepoFlags>>, // FIXME: not implemented
|
||||
/// map of all categories
|
||||
///
|
||||
/// Key should conceptually be seen as the name of the category.
|
||||
|
|
|
@ -126,7 +126,7 @@ mod config {
|
|||
#[test]
|
||||
fn init_config_populate() {
|
||||
let default_category = Category {
|
||||
flags: vec![],
|
||||
flags: Some(vec![]),
|
||||
repos: HashMap::new(),
|
||||
};
|
||||
let mut config = Config {
|
||||
|
|
|
@ -13,7 +13,6 @@ categories:
|
|||
url: https://github.com/starship/starship.git
|
||||
flags: [Clone, Push]
|
||||
utils:
|
||||
flags: []
|
||||
repos:
|
||||
gg:
|
||||
name: gg
|
||||
|
|
|
@ -1,4 +1,20 @@
|
|||
categories:
|
||||
utils:
|
||||
repos:
|
||||
gg:
|
||||
name: gg
|
||||
path: /home/ces/.dots/
|
||||
url: git@github.com:cafkafk/gg.git
|
||||
flags:
|
||||
- Clone
|
||||
- Push
|
||||
li:
|
||||
name: li
|
||||
path: /home/ces/org/src/git/
|
||||
url: git@github.com:cafkafk/li.git
|
||||
flags:
|
||||
- Clone
|
||||
- Push
|
||||
config:
|
||||
flags: []
|
||||
repos:
|
||||
|
@ -16,23 +32,6 @@ categories:
|
|||
flags:
|
||||
- Clone
|
||||
- Push
|
||||
utils:
|
||||
flags: []
|
||||
repos:
|
||||
li:
|
||||
name: li
|
||||
path: /home/ces/org/src/git/
|
||||
url: git@github.com:cafkafk/li.git
|
||||
flags:
|
||||
- Clone
|
||||
- Push
|
||||
gg:
|
||||
name: gg
|
||||
path: /home/ces/.dots/
|
||||
url: git@github.com:cafkafk/gg.git
|
||||
flags:
|
||||
- Clone
|
||||
- Push
|
||||
links:
|
||||
- name: gg
|
||||
rx: /home/ces/.config/gg
|
||||
|
|
Loading…
Reference in a new issue