Skip to content

Commit

Permalink
Merge pull request #8 from demisto/release
Browse files Browse the repository at this point in the history
Release changes
  • Loading branch information
liorblob authored Nov 21, 2019
2 parents 6ba3785 + b67942e commit 84baa54
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
v0.1.0 Release

Capabilities:
**Extract** components(code, image, description etc.) from a Demisto YAML file into a directory.
**Unify** components(code, image, description etc.) to a single Demisto YAML file.
**Validate** Demisto content files.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[![CircleCI](https://circleci.com/gh/demisto/demisto-sdk/tree/master.svg?style=svg)](https://circleci.com/gh/demisto/demisto-sdk/tree/master)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/demisto/demisto-sdk.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/demisto/demisto-sdk/context:python)

# Demisto SDK

Expand All @@ -14,16 +13,16 @@ The library uses python 3.7+.

### CLI
You can use the SDK in the CLI as follows:
`demisto_sdk <action> <args>`. For more information, run `demisto_sdk -h`.
`demisto-sdk <action> <args>`. For more information, run `demisto-sdk -h`.

#### Examples:

`demisto_sdk extract -i Integrations/integration-MyInt.yml -o Integrations/MyInt -m`
`demisto-sdk extract -i Integrations/integration-MyInt.yml -o Integrations/MyInt -m`
will split the yml file to a directory with the integration components (code, image, description, pipfile etc.)

`demisto_sdk unify -i Integrations/MyInt -o Integrations` will grab the integration components and unify them to a single yaml file.
`demisto-sdk unify -i Integrations/MyInt -o Integrations` will grab the integration components and unify them to a single yaml file.

`demisto_sdk validate` will validate your content files.
`demisto-sdk validate` will validate your content files.


### In the code
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': ['demisto_sdk=demisto_sdk.__main__:console_entry']
'console_scripts': ['demisto-sdk=demisto_sdk.__main__:console_entry']
},
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 84baa54

Please sign in to comment.