cvvault

command module
v0.0.0-...-5478291 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

README

CV Vault

This is a cli application to manage cvs in (mostly) json-resume compatible yaml files. Some sections are extended with tags so you can create different cvs by tags. (check export command)

name: "Parkyeri"
location: "Istanbul / Turkey"
description: "Parkyeri is a Istanbul based Information Technology & Services Company"
position: "Linux Systems Administrator"
url: "https://www.parkyeri.com"
startDate: "2005-02-01"
endDate: "2007-02-01"
summary: ""
highlights:
- description: "Linux Systems Administration" 
  tags: ["sre","all"]
- description: "Postfix Mail Server Administration" 
  tags: ["sre","all"]
- description: "Mysql Management" 
  tags: ["sre","all"]
- description: "Postgresql Management" 
  tags: ["sre","all"]
- description: "GSM Value Added Services Development"
  tags: ["swe", "gsm"]
- description: "Kannel Management"
  tags: ["sre", "gsm"]

Commands

cvvault project
Available Commands:
  create      Create a new Cv Vault Project
  delete      Delete project
  export      Export project as json
  ls          List projects
  print       Print project
  set-default Set a project as default
% go run cvvault.go projects ls
INFO[0000] Config file in use: /Users/yalazi/.config/cvvault/cvvault-config.yaml
INFO[0000] Reading basics for project: yalazi
INFO[0000] Validating json
INFO[0000] Reading basics for project: yzl
INFO[0000] Validating json
  DEFAULT |                      DIRECTORY                       | PROJECT |        NAME        |       LABEL
----------+------------------------------------------------------+---------+--------------------+--------------------
          | /Users/yalazi/Documents/CVVault/WORK/projects/yalazi | yalazi  | Mehmet Onur Yalazi | Platform Engineer
          | /Users/yalazi/Documents/CVVault/WORK/projects/yzl    | yzl     | Mehmet Onur Yalazi | PLatform Engineer
% go run cvvault.go projects create onur -n "Mehmet Onur Yalazi" -l "PLatform Engineer" --countrycode IE -e onur.yalazi@gmail.com -r Co.Kildare
INFO[0000] Config file in use: /Users/yalazi/.config/cvvault/cvvault-config.yaml
INFO[0000] Creating CVProject:  onur /Users/yalazi/Documents/CVVault/WORK/projects/onur
/Users/yalazi/Documents/CVVault/WORK/projects/onur/data/basics.yaml
/Users/yalazi/Documents/CVVault/WORK/projects/onur/data/works/my-first-company-STARTYEAR.yaml
% go run cvvault.go projects delete onur
INFO[0000] Config file in use: /Users/yalazi/.config/cvvault/cvvault-config.yaml
Are you sure to delete this project: onur? [y/n]: y
Deleting project:  onur
% go run cvvault.go projects export yalazi --ignoreTags gsm
INFO[0000] Config file in use: /Users/yalazi/.config/cvvault/cvvault-config.yaml
INFO[0000] Reading basics for project: yalazi
INFO[0000] Validating json
{"Name":"yalazi","basics":{"name":"Mehmet Onur Yalazi","label":"Platform Engineer","image":"","email":"onur.yalazi@gmail.com",
....
{"name":"Parkyeri","location":"Istanbul / Turkey","description":"Parkyeri is a Istanbul based Information Technology Services Company",
"position":"Linux Systems Administrator","url":"https://www.parkyeri.com","startDate":"2005-02-01","endDate":"2007-02-01","summary":"",
"highlights":["Linux Systems Administration","Postfix Mail Server Administration","Mysql Management","Postgresql Management"]}
...

Rendering exported projects

You can use resumed https://www.npmjs.com/package/resumed

% npm install resumed jsonresume-theme-spartacus
% node ~/node_modules/resumed/bin/resumed.js render /tmp/cv.json --theme jsonresume-theme-spartacus --output WORK/projects/yalazi/resume.html

Documentation

Overview

Copyright © 2023 M.Onur YALAZI <onur.yalazi@gmail.com> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL