Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
release: Prepare for v1.5.0 :D
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivansh-007 committed Oct 1, 2021
1 parent fe59cc3 commit 4edbee2
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 63 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Piston CLI

[![Lint & Test](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Lint%20&%20Test/main?label=Lint&logo=github&style=flat)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
[![Linting](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting?logo=github)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
[![Python](https://img.shields.io/static/v1?label=Python&message=3.9&color=blue&logo=Python&style=flat)](https://www.python.org/downloads/ "Python 3.8 | 3.9")
[![License](https://img.shields.io/github/license/discord-modmail/modmail?style=flat&label=License)](./LICENSE "License file")
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter"))
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter")
______________________________________________________________________

**Documentation**: <a href="https://shivansh-007.github.io/piston-cli/" target="_blank">https://shivansh-007.github.io/piston-cli/</a>
Expand Down
6 changes: 4 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Piston CLI

[![Lint & Test](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting/main?label=Lint&logo=github&style=flat)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
# Piston CLI

[![Linting](https://img.shields.io/github/workflow/status/Shivansh-007/piston-cli/Linting?logo=github)](https://github.com/discord-modmail/modmail/actions/workflows/linting.yml "Lint")
[![Python](https://img.shields.io/static/v1?label=Python&message=3.9&color=blue&logo=Python&style=flat)](https://www.python.org/downloads/ "Python 3.8 | 3.9")
[![License](https://img.shields.io/github/license/discord-modmail/modmail?style=flat&label=License)](./LICENSE "License file")
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter"))
[![Code Style](https://img.shields.io/static/v1?label=Code%20Style&message=black&color=000000&style=flat)](https://github.com/psf/black "The uncompromising python formatter")

A cli tool which uses the [piston api](https://github.com/engineer-man/piston), developed by Engineerman and his team to compile over 35 languages instantly. Accepts files, paste.pythondiscord.com links and input.
______________________________________________________________________
Expand Down
2 changes: 1 addition & 1 deletion piston/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.3"
__version__ = "1.5.0"
14 changes: 3 additions & 11 deletions piston/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from piston.configuration.config_loader import ConfigLoader
from piston.utils import helpers
from piston.utils.compilers import languages_
from piston.utils.constants import BOX_STYLES, CACHE_LOCATION, PistonQuery, themes, SPINNERS
from piston.utils.constants import BOX_STYLES, CACHE_LOCATION, SPINNERS, PistonQuery, themes
from piston.utils.maketable import make_table
from piston.utils.services import query_piston

Expand Down Expand Up @@ -244,16 +244,8 @@ def cli_interpreter(ctx: click.Context, src: str, args: tuple[str]) -> None:
"\n\n$ piston cache --cache-file ~/.cache/piston-cli/cachefile.json"
),
)
@click.option(
"--clear-cache",
is_flag=True,
help="Clear piston-cli cache"
)
@click.option(
"--cache-path",
is_flag=True,
help="Show piston-cli cache path"
)
@click.option("--clear-cache", is_flag=True, help="Clear piston-cli cache")
@click.option("--cache-path", is_flag=True, help="Show piston-cli cache path")
@click.pass_context
def cli_failed_request_cache(
ctx: click.Context, timeline: int, clear_cache: bool, cache_path: bool, cache_file: Optional[str] = None
Expand Down
92 changes: 46 additions & 46 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "piston-cli"
version = "1.4.3"
version = "1.5.0"
description = "A cli tool with an terminal editor to compile over 35 languages instantly using the piston api."
authors = ["Shivansh-007 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 4edbee2

Please sign in to comment.