mysh


Namemysh 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:08:21
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": "mysh",
    "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/97/8e/e8424fd23b8f0e60b19e2b1d6d1957cfe89505b3748a39ed6dd189be749c/mysh-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": "2fc692cbfd6a21208665b3db7ececcc8",
                "sha256": "0baf4fff9dd29bf1d5356be8e9dbe8fa3857023a6e63c22bd61894d2baf4f174"
            },
            "downloads": -1,
            "filename": "mysh-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2fc692cbfd6a21208665b3db7ececcc8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<3.12",
            "size": 12154,
            "upload_time": "2022-12-19T07:08:20",
            "upload_time_iso_8601": "2022-12-19T07:08:20.247338Z",
            "url": "https://files.pythonhosted.org/packages/8b/9b/3dc1490b5251c622d0bc7f90313bbda53e72be1cf22eb79ba053eecf2561/mysh-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "5436270c52ffc003822da850ef372e12",
                "sha256": "0a4db89f125aca6685939aadf2dbf750410b96cfd0302a2f3e233c97d999637c"
            },
            "downloads": -1,
            "filename": "mysh-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5436270c52ffc003822da850ef372e12",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<3.12",
            "size": 9507,
            "upload_time": "2022-12-19T07:08:21",
            "upload_time_iso_8601": "2022-12-19T07:08:21.910254Z",
            "url": "https://files.pythonhosted.org/packages/97/8e/e8424fd23b8f0e60b19e2b1d6d1957cfe89505b3748a39ed6dd189be749c/mysh-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-19 07:08:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "fpgmaas",
    "github_project": "skate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "mysh"
}
        
Elapsed time: 0.36221s