Skip to content

how to modify existing artifact's tags, category, add comment. How to chage storage location?  #102

@benibilme

Description

@benibilme

Hello,

I have not been able to find a forum or github discussion area, I am asking here. I am sorry to generate noise. I am interested in using this sofware, and testing it now. However I could not find several important features in the documentation. I appreciate if you can provide a feedback. I presume I am missing them.

  1. How can I change, update, delete an existing artifacts category, tags, title, status etc. My expectation was --edit command. However options passed does not change anything. For example;

    kb edit --id AnId -c "newcategory" does not work. Category is not added or updated. How can I change the category for example or even delete it.

 kb edit --help
usage: kb edit [-h] [-i ID] [-t TITLE] [-c CATEGORY] [-g TAGS] [-a AUTHOR] [-s STATUS] [nameid]

positional arguments:
  nameid                Title or ID of the artifact to edit

options:
  -h, --help            show this help message and exit
  -i ID, --id ID        ID of the artifact to edit
  -t TITLE, --title TITLE
                        Title to update
  -c CATEGORY, --category CATEGORY
                        Category to update
  -g TAGS, --tags TAGS  Tags to update in the form "tag1;tag2;...;tagN"
  -a AUTHOR, --author AUTHOR
                        Author to update
  -s STATUS, --status STATUS
                        Status to update

The documentation above seems to promise to update the fields, but it does not. It just opens the text file.

It seems a command such as modify is needed to change the attributes of an artifact.

  1. Artifacts seems to be stored at ~/.local/share/kb. How can I change that path to some other location? Is there a configuration file. I have not been able to find an entry in ~/.config /usr/share etc. I have installed the package with yay at arch linux.

  2. I am not sure if understand correctly but I can only add artifacts with title etc. Is is possible to add comments or some description with several sentences. Is there any other option other than --title.

These are basic fundamental questions, maybe they will be good to be added to the README or help of kb. It may be beneficial to create a discussion section for not creating noise in the issues section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions