fastcmd


Namefastcmd JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/fpgmaas/skate
SummaryOrganize and run frequently used commands
upload_time2022-12-18 18:26:31
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": "fastcmd",
    "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/e7/f2/f4e5e9786dc2f3303d7b6c5a6933f32879a7360699543b90111a18cf9ba1/fastcmd-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": "442c0fa07cee76dd0433002594780fc6",
                "sha256": "6684679393e295c5785148726f4c9036106eeb8f1fe77e0a55d14025d317f9de"
            },
            "downloads": -1,
            "filename": "fastcmd-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "442c0fa07cee76dd0433002594780fc6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<3.12",
            "size": 12188,
            "upload_time": "2022-12-18T18:26:29",
            "upload_time_iso_8601": "2022-12-18T18:26:29.038566Z",
            "url": "https://files.pythonhosted.org/packages/7a/c0/581d52190938cf18c055c28241f61f5352b6a501626a8560585772076c8f/fastcmd-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "70a27633cc55b901054df298b9ed3207",
                "sha256": "2eabc4e9e21b6ac215f2b7479efc3af9241866852d5f675838c6cff486d78313"
            },
            "downloads": -1,
            "filename": "fastcmd-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "70a27633cc55b901054df298b9ed3207",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<3.12",
            "size": 9524,
            "upload_time": "2022-12-18T18:26:31",
            "upload_time_iso_8601": "2022-12-18T18:26:31.045558Z",
            "url": "https://files.pythonhosted.org/packages/e7/f2/f4e5e9786dc2f3303d7b6c5a6933f32879a7360699543b90111a18cf9ba1/fastcmd-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-18 18:26:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "fpgmaas",
    "github_project": "skate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "fastcmd"
}
        
Elapsed time: 0.34067s