npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

youtrack-cli

v0.5.0

Published

cli for youtrack

Downloads

38

Readme

youtrack-cli

Command Line Tool for interacting with youtrack

Build Status npm NpmLicense

Install

npm install -g youtrack-cli
yarn add youtrack-cli

Usage

After you've installed the package globally, youtrack-cli will be available as youtrack in your command line.

Getting started

To setup the cli (set the URL, provide your credentials), run:

$ youtrack setup

This will guide you through the setup process.

Commands

youtrack -h

Available commands are:

project|p      manage projects
user|u         manage users
issue|i        manage issues
workitem|w     manage workitems
setup          setup youtrack cli

Projects

$ youtrack project <subcommand> <options>

Available subcommands:

list|ls [options]  list all accessible projects
list
Options:
  -r, --raw   print raw json
  -d, --desc  print description (does not apply when option --raw is used

Example:

$ youtrack project ls

image

Users

$ youtrack user <subcommand> <options>

Available subcommands:

info|i [options]        show info about current user
show [options] <login>  show info about user

Issues

$ youtrack issue <subcommand> <options>

Available subcommands:

find|f [options]            search issues with a query (interactive)
show|s [options] <issueId>  show issue info
delete|d [options] <issue>  delete an issue by its id
create|c                    creates an issue (interactive)
find
Options:
  -q, --query           non-interactive query
  -r, --raw             print raw json
  -m, --max <max>       limit number of issues shown
  -f, --fields <field>  which fields to display

Example:

$ youtrack issue f

image

Work-Items (Timetracking)

$ youtrack workitem <subcommand> <options>

Available subcommands:

list|ls [options] <issueId>  list all workitems for issue
create|c [options]           create new work item for an issue (interactive)
delete|d                     delete work item of an issue (interactive)
edit|e                       edit work item of an issue (interactive)
list
Options:
  -r, --raw             print raw json

Example:

$ youtrack workitem ls T1-2

image

create

Create a new work item for an issue in interactive mode. If all parameters are given via options, the interactive mode is skipped.

-i, --issue <issue>                  issue id
-d, --duration <duration>            duration (e.g. "1h 30m")
--date <date>                        date
-w, --worktype <worktype>            work-type
--desc, --description <description>  description
-r, --raw                            print raw json
-h, --help                           output usage information

Example:

$ youtrack w c --issue "T1-1" --duration "1h 30m" --date "6.11.2018" --worktype "testing" --description "tested it in IE"

You can also start the interactive mode by omitting all Options:

$ youtrack w c

Issue Comments

$ youtrack comment <subcommand> <options>

Available subcommands:

list|ls [options] <issueId>  list all comments of an issue
create|c [options]           add comment to an issue. starts interactive mode if parameters are omitted.
delete|d                     delete a comment (interactive
edit|e                       update a comment (interactive
create

Example:

$ youtrack comment create -i T1-1 -c "my comment"