29 Commits

Author SHA1 Message Date
63efe2ed7d add Makefile with common dev task targets
Provides make targets for install, install-dev, test, lint,
format, docs, and clean. Includes a self-documenting help
target that lists all available commands.
2026-03-30 00:04:49 -07:00
d8488cd509 add --format json/text option to movie list command
Demonstrates Click Choice options for output formatting.
JSON mode emits machine-readable output suitable for piping
to jq or consuming from scripts.
2026-03-30 00:04:29 -07:00
bb781836a7 add award subcommand group with nominate and win commands
Demonstrates a second command group pattern alongside movie.
The award win command uses click.style with color and bold
to show styled congratulatory output.
2026-03-30 00:03:46 -07:00
2ca04e5a88 add filmography command with styled terminal output
New clive movie list command displays a curated filmography
using click.style for colored, bold output. Demonstrates
Click terminal styling capabilities.
2026-03-30 00:03:04 -07:00
e82f7f8a2c add isort pre-commit hook for import sorting
Adds isort before black in the hook chain so imports are
sorted consistently. Configured with black-compatible profile
in pyproject.toml.
2026-03-30 00:02:20 -07:00
45a610141f add pytest pre-commit hook to run tests before each commit
Extends the pre-commit demo with a test-running hook that
always runs regardless of which files were staged, ensuring
tests pass before any commit lands.
2026-03-30 00:02:03 -07:00
f75381dc6b add unit tests for all CLI commands using Click CliRunner
Tests cover --help, --version, movie new, movie contract with
and without --agent flag. Demonstrates how to test Click CLIs
with the built-in CliRunner test utility.
2026-03-30 00:01:43 -07:00
516f27bc97 fix pyproject.toml build-backend path
Use the correct setuptools.build_meta backend instead of the
non-existent setuptools.backends._legacy path.
2026-03-30 00:01:33 -07:00
5e1c28369e add pyproject.toml for modern Python packaging
Defines build system, project metadata, optional dependency
groups (dev, docs), console script entry point, and tool
configs for black and isort. Complements the existing setup.py.
2026-03-29 23:59:47 -07:00
4c3107ecb3 separate runtime and dev dependencies
Move flake8, black, and pre-commit to requirements-dev.txt so
that only Click is required at runtime. Dev file includes -r
requirements.txt for a single install command.
2026-03-29 23:59:29 -07:00
987f573fc9 wire --version to report actual package version
Use importlib.metadata to read the installed package version
so that `clive --version` displays the real version string
instead of failing silently.
2026-03-29 23:59:07 -07:00
Chaz Reid
c585339048 update codeowners 2022-09-08 16:44:08 -07:00
Chaz Reid
c9ef5635a9 update readme 2022-09-08 14:33:16 -07:00
Chaz Reid
d853f4a702 fix extension 2022-09-08 14:30:41 -07:00
Chaz Reid
a473cf7ae0 add screenshot showing hooks in action 2022-09-08 14:29:22 -07:00
Chaz Reid
b47665a025 update docs 2022-09-08 14:25:32 -07:00
Chaz Reid
8f95e5850c update readme 2022-09-08 14:25:02 -07:00
Chaz Reid
af436477d3 update requirements with pre-config/flake8/black 2022-09-08 14:24:54 -07:00
Chaz Reid
48dd18ffd7 migrate pre-commit config to new style 2022-09-08 14:24:41 -07:00
Chaz Reid
41fcabdfe7 add flake8, add pre-commit config 2022-09-08 14:24:02 -07:00
Chaz Reid
9289a599a2 add a pre-commit config yaml 2022-09-08 14:23:09 -07:00
Chaz Reid
8340953d8e update clive 2022-09-08 14:13:52 -07:00
Chaz Reid
ca5bce2251 update docs index page 2022-09-08 11:59:48 -07:00
Chaz Reid
41e77d5048 update requirements 2022-09-08 11:59:09 -07:00
Chaz Reid
2dec315eee add actual code. 2022-09-08 11:59:00 -07:00
Chaz Reid
7b97bd6193 update gitignore 2022-09-08 11:58:50 -07:00
Chaz Reid
d9eee0c0e2 add readme 2022-09-08 11:58:24 -07:00
Chaz Reid
1611bdf229 add docs 2022-09-08 11:58:20 -07:00
Chaz Reid
901e397b6c init commit 2022-09-08 11:38:14 -07:00