peaks


Namepeaks JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/fpgmaas/skate
SummaryOrganize and run frequently used commands
upload_time2022-12-19 07:43:45
maintainer
docs_urlNone
authorFlorian Maas
requires_python>=3.8,<3.12
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <h1>Skate</h1>
</p>

---

[![Release](https://img.shields.io/github/v/release/fpgmaas/skate)](https://img.shields.io/github/v/release/fpgmaas/skate)
[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/skate/main.yml?branch=main)](https://github.com/fpgmaas/skate/actions/workflows/main.yml?query=branch%3Amain)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/skate)](https://pypi.org/project/skate/)
[![codecov](https://codecov.io/gh/fpgmaas/skate/branch/main/graph/badge.svg)](https://codecov.io/gh/fpgmaas/skate)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/skate)](https://pypistats.org/packages/skate)
[![License](https://img.shields.io/github/license/fpgmaas/skate)](https://img.shields.io/github/license/fpgmaas/skate)

_skate_ is a command line utility to help you organise and quickly run frequently used commands.

<p align="center">
<img src="docs/skate.gif"/>
</p>

## Quickstart

### Installation

_skate_ can be installed by running

```shell
pip install skate
```

To get started, run

```shell
skate init
```

which will prompt to add a `skate/skate.yaml` file in the user's home directory for global commands, and/or a `skate.yaml` file in the current directory for commands specific to the current project. 

To use _skate_ to run any of the pre-configured commands, simply run

```
skate
```

For more information, see the [documentation](https://fpgmaas.github.io/skate/).

## Configuration

_skate_ can look for configuration in the following two locations:

- In a `skate.yaml` file in the current directory
- In any `.yaml` file in the the global configuration directory, which is defaulted to `~/skate`, but which can be overridden with the environment variable `SKATE_HOME`.

An example `.yaml` file could look as follows:

```yaml
test:
  my-command:
    cmd: "echo Hello! My name is: $name. My favourite fruit is: $fruit"
    echo: false
    args:
      - name
      - fruit: apple
```

Which adds the command group `test` wth a single command called `my-command`. When `my-command` is selected to be run, _skate_ prompts the user for `name` and `fruit` before running the command specified in `cmd`, where `fruit` is defaulted to `apple` if the user does not give any input.

For more details, see the [configuration](https://fpgmaas.github.io/skate/configuration) section of the documentation.

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fpgmaas/skate",
    "name": "peaks",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<3.12",
    "maintainer_email": "",
    "keywords": "",
    "author": "Florian Maas",
    "author_email": "fpgmaas@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f9/93/bea134407db904934613fdb9f3ec5ef2a22496f80a95d84344a20c133998/peaks-0.0.2.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n  <h1>Skate</h1>\n</p>\n\n---\n\n[![Release](https://img.shields.io/github/v/release/fpgmaas/skate)](https://img.shields.io/github/v/release/fpgmaas/skate)\n[![Build status](https://img.shields.io/github/actions/workflow/status/fpgmaas/skate/main.yml?branch=main)](https://github.com/fpgmaas/skate/actions/workflows/main.yml?query=branch%3Amain)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/skate)](https://pypi.org/project/skate/)\n[![codecov](https://codecov.io/gh/fpgmaas/skate/branch/main/graph/badge.svg)](https://codecov.io/gh/fpgmaas/skate)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/skate)](https://pypistats.org/packages/skate)\n[![License](https://img.shields.io/github/license/fpgmaas/skate)](https://img.shields.io/github/license/fpgmaas/skate)\n\n_skate_ is a command line utility to help you organise and quickly run frequently used commands.\n\n<p align=\"center\">\n<img src=\"docs/skate.gif\"/>\n</p>\n\n## Quickstart\n\n### Installation\n\n_skate_ can be installed by running\n\n```shell\npip install skate\n```\n\nTo get started, run\n\n```shell\nskate init\n```\n\nwhich will prompt to add a `skate/skate.yaml` file in the user's home directory for global commands, and/or a `skate.yaml` file in the current directory for commands specific to the current project. \n\nTo use _skate_ to run any of the pre-configured commands, simply run\n\n```\nskate\n```\n\nFor more information, see the [documentation](https://fpgmaas.github.io/skate/).\n\n## Configuration\n\n_skate_ can look for configuration in the following two locations:\n\n- In a `skate.yaml` file in the current directory\n- In any `.yaml` file in the the global configuration directory, which is defaulted to `~/skate`, but which can be overridden with the environment variable `SKATE_HOME`.\n\nAn example `.yaml` file could look as follows:\n\n```yaml\ntest:\n  my-command:\n    cmd: \"echo Hello! My name is: $name. My favourite fruit is: $fruit\"\n    echo: false\n    args:\n      - name\n      - fruit: apple\n```\n\nWhich adds the command group `test` wth a single command called `my-command`. When `my-command` is selected to be run, _skate_ prompts the user for `name` and `fruit` before running the command specified in `cmd`, where `fruit` is defaulted to `apple` if the user does not give any input.\n\nFor more details, see the [configuration](https://fpgmaas.github.io/skate/configuration) section of the documentation.\n\n---\n\nRepository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Organize and run frequently used commands",
    "version": "0.0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "49e3daf5a4b6d83c19fe27bd03f84add",
                "sha256": "808d845aab8e5cd70d981302688b92405d2ffc4716554a5c382cb1d0fdb8b65c"
            },
            "downloads": -1,
            "filename": "peaks-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "49e3daf5a4b6d83c19fe27bd03f84add",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<3.12",
            "size": 12168,
            "upload_time": "2022-12-19T07:43:43",
            "upload_time_iso_8601": "2022-12-19T07:43:43.954035Z",
            "url": "https://files.pythonhosted.org/packages/d4/63/12fdbb100eb58ab7ea29c4f85ca6e09b628181e26666b264a395f46fb714/peaks-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a642e7d7160e221a71431c150fac9b1c",
                "sha256": "f6854b8e79cc3858b1d4c8325215675c35393531f16fd3d87d90393d65fcc865"
            },
            "downloads": -1,
            "filename": "peaks-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a642e7d7160e221a71431c150fac9b1c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<3.12",
            "size": 9520,
            "upload_time": "2022-12-19T07:43:45",
            "upload_time_iso_8601": "2022-12-19T07:43:45.452188Z",
            "url": "https://files.pythonhosted.org/packages/f9/93/bea134407db904934613fdb9f3ec5ef2a22496f80a95d84344a20c133998/peaks-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-19 07:43:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "fpgmaas",
    "github_project": "skate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "peaks"
}
        
Elapsed time: 0.21226s