Skip to content

Commit

Permalink
update pyproject, README and rename run_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Asugawara committed Dec 25, 2023
1 parent 6007441 commit e978663
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test pmemo
name: Test pgcs

on:
push:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ command | description
`pg pref --init` | initialize or reset preferences file
`pg pref <key> <value>` | set preference with key to value

> [!Note]
> If you want to use clipboard functionality on Linux without a GUI, you need to execute the following. Below is an example.
```bash
$ sudo apt-get install xvfb
$ sudo apt-get install xclip
$ Xvfb :99 -screen 0 1280x720x16 &
$ export DISPLAY=:99
```

# Versioning
This repo uses [Semantic Versioning](https://semver.org/).
Expand Down
2 changes: 1 addition & 1 deletion pgcs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def main() -> None:
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(dest="cmd")
parser_traverse = subparsers.add_parser(
"traverse", help="default positional argument `pgcs` == `pgcs traverse`"
"traverse", help="default positional argument `pg` == `pg traverse`"
)
parser_pref = subparsers.add_parser("pref", help="set pref")
parser_pref.add_argument("--init", action="store_true")
Expand Down
20 changes: 19 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
[tool.poetry]
name = "pgcs"
version = "0.1.0"
version = "0.1.1"
description = "Pgcs is an intuitive TUI tool designed to simplify your interaction with Google Cloud Storage. Stay in your coding zone by navigating directories, searching files (with case-insensitive support), and previewing files all from your terminal. Easily save paths to clipboard or download files with straightforward keyboard shortcuts. Experience a seamless Cloud Storage interaction right from your terminal; no more swapping to a browser. Stimulate your productivity with Pgcs."
authors = ["Asugawara <asgasw@gmail.com>"]
readme = "README.md"
packages = [{include = "pgcs"}]
homepage = "https://github.com/Asugawara/pgcs"
repository = "https://github.com/Asugawara/pgcs"
license = "MIT"
keywords = [
"GoogleCloudStorage",
"gcsfs"
]
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy"
]

[tool.poetry.scripts]
pg = "pgcs.main:main"
Expand Down

0 comments on commit e978663

Please sign in to comment.