Task: Implement a minimal Click-based CLI in /app/fip.py
What to implement
Create a Python module at /app/fip.py that defines and exports a single Click command object named cli. The module must be importable as from fip import cli.
The cli object should be created using the Click decorator so that it is an instance of click.Command (i.e., created via @click.command()).
The command function should be a no-op (it should perform no actions and produce no output by default).
Behavior expectations for tests:
Invoking the command with no arguments via the test harness: runner.invoke(cli.main) should return exit_code 0 and output '' (empty string).
Invoking the command with --help via the test harness: runner.invoke(cli.main, ['--help']) should return exit_code 0 and include the help line containing "-h, --help Show this message and exit.\n" within the output.
The test relies on the fact that cli is a Click Command object and that cli.main exists (as provided by Click’s Command class) for programmatic invocation.
Specifics and signatures
File: /app/fip.py
Exposed symbol: cli (a Click Command object)
Implementation pattern (example, to satisfy tests):
from click import command
@command()
def cli():
"""No-op command used for tests."""
pass
By decorating the function with @click.command(), the variable cli will be a Click Command object with a main attribute accessible as cli.main, which the tests call via runner.invoke(cli.main).
Notes
This task is self-contained: the tests only require the existence and behavior of the cli command object and do not require any external dependencies or network access.
Ensure the implementation lives exactly in /app/fip.py (or /app/fip/init.py if you prefer a package, but the tests expect a module path).