File tree 3 files changed +21
-4
lines changed
3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ click-command-tree
4
4
** WARNING** : This has really only been tested with python3 and click 6 and 7. I plan to do better testing and integrate CI so find all
5
5
possible versions this can be used with.
6
6
7
- ` click-command-tree ` is a [ click] ( https://github.com/pallets/click ) plugin that provides a command to show the command tree of
8
- your project.
7
+ ` click-command-tree ` is a [ click] ( https://github.com/pallets/click ) plugin to show the command tree of your CLI
9
8
10
9
example:
11
10
Original file line number Diff line number Diff line change 1
1
import click
2
2
3
+ __version__ = '1.0.0'
4
+
3
5
4
6
@click .command (name = 'tree' )
5
7
@click .pass_context
Original file line number Diff line number Diff line change
1
+ import pathlib
1
2
from setuptools import setup
2
3
4
+ HERE = pathlib .Path (__file__ ).parent
5
+ README = (HERE / 'README.md' ).read_text ()
6
+
3
7
setup (
4
8
name = 'click-command-tree' ,
5
- version = '0.1.0' ,
6
- py_modules = ['click_command_tree' ],
9
+ version = '1.0.0' ,
10
+ description = 'click plugin to show the command tree of your CLI' ,
11
+ long_description = README ,
12
+ long_description_content_type = 'text/markdown' ,
13
+ url = 'https://github.com/whwright/click-command-tree' ,
14
+ author = 'Harrison Wright' ,
15
+ author_email = 'mail@harrisonwright.me' ,
16
+ license = 'MIT' ,
17
+ classifiers = [
18
+ 'License :: OSI Approved :: MIT License' ,
19
+ 'Programming Language :: Python :: 3'
20
+ ],
21
+ py_modules = ['click_command_tree' ],\
22
+ include_package_data = True ,
7
23
install_requires = [
8
24
'click' ,
9
25
],
You can’t perform that action at this time.
0 commit comments