diff --git a/README.md b/README.md index 0e26d23..1b4f74a 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,15 @@ Blender Asset Tracer, a.k.a. BAT🦇, is the replacement of Development is driven by choices explained in [T54125](https://developer.blender.org/T54125). +## Basic access to command line operations + +The `cli.py` wrapper at the root of the project can be used to directly access the command line +tools, without requiring any setup involving `venv` and so on: + +``` +python3 path/to/repo/cli.py list path/to/blendfile.blend +``` + ## Setting up development environment ``` diff --git a/cli.py b/cli.py new file mode 100644 index 0000000..021b3c8 --- /dev/null +++ b/cli.py @@ -0,0 +1,29 @@ +# ##### BEGIN GPL LICENSE BLOCK ##### +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# Copyright (C) 2014-2018 Blender Foundation +# +# ##### END GPL LICENSE BLOCK ##### + +# + + +import blender_asset_tracer.cli + +if __name__ == "__main__": + print("\n\n *** Running {} *** \n".format(__file__)) + blender_asset_tracer.cli.cli_main() +