Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
changed commands to react on archived projects
updated manpage
updated tabcompletions
  • Loading branch information
SchokiCoder committed Sep 24, 2022
1 parent 4bf7e7d commit e35ad55
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 68 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "smng"
version = "2.2.1"
version = "2.3.0"
authors = ["SchokiCoder <afschoknecht@gmail.com>"]
repository = "https://github.com/SchokiCoder/smng"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_smng_completions()
{
COMPREPLY+=($(compgen -W "help about add-project show-projects edit-project delete-project record status stop add-record edit-record-project edit-record-begin edit-record-end edit-record-description delete-record transfer-project-records swap-project-records show-week show-month show-project-records merge-db show-config-path show-db-path" "${COMP_WORDS[1]}"))
COMPREPLY+=($(compgen -W "help about add-project show-projects edit-project archive-project delete-project record status stop add-record edit-record-project edit-record-begin edit-record-end edit-record-description delete-record transfer-project-records swap-project-records show-week show-month show-project-records merge-db show-config-path show-db-path" "${COMP_WORDS[1]}"))
}

complete -F _smng_completions smng
8 changes: 7 additions & 1 deletion manpage.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH "SMNG" "1" "04 August 2022" "smng 2.2.0" ""
.TH "SMNG" "1" "24 September 2022" "smng 2.3.0" ""
.hy

.SH NAME
Expand Down Expand Up @@ -50,6 +50,12 @@ Show all projects.
Set project name of given project.
.RE

.PP
\f[B]archive-project\f[R] \f[I]project_id\f[R]
.RS 4
Archive or unarchive a project.
.RE

.PP
\f[B]delete-project\f[R] \f[I]project_id\f[R] [\f[I]purge\f[R]]
.RS 4
Expand Down
Loading

0 comments on commit e35ad55

Please sign in to comment.