Metadata-Version: 2.1
Name: debu
Version: 0.0.4
Summary: Automatic Deployment and Build tool
Home-page: https://github.com/SiLeader/debu
Author: SiLeader
Author-email: 
License: Apache License 2.0
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Interpreters
Classifier: Topic :: System
Classifier: Topic :: System :: Installation/Setup
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: asn1crypto (==0.24.0)
Requires-Dist: bcrypt (==3.1.4)
Requires-Dist: cffi (==1.11.5)
Requires-Dist: cryptography (==2.3)
Requires-Dist: idna (==2.7)
Requires-Dist: paramiko (==2.4.1)
Requires-Dist: pyasn1 (==0.4.4)
Requires-Dist: pycparser (==2.18)
Requires-Dist: PyNaCl (==1.2.1)
Requires-Dist: six (==1.11.0)

debu
===========

&copy; 2018 SiLeader.

## Overview
Automatic deployment and build tool.

You can use this package as normal python package and interpreter.

## Features
+ execute commands
+ copy files
+ execute debu script

## debu script
### Features
+ display data (print and echo)
+ execute commands
+ copy files
+ variables
+ comments

### data types
| name | expr | meaning |
|:----:|:----:|:--------|
| str | "str" | string type |
| int(hex) | 0xbeef | hexadecimal integer |
| int(dec) | 129 | decimal integer |
| int(oct) | 0o127 | octal integer |
| int(bin) | 0b101 | binary integer |
| host | user@host:port, user@host | SSH host name |

### script syntax
#### print and echo
```text
print "data"
echo "data"
```

#### comments
```text
# comment
print "data" # comment
```

#### copy files
```text
host_destination << host_source: copy /path/to/destination /path/to/source
```

#### execute command
```text
# execute ls command in host
host: ls
```

#### variables
```text
# assign
var1 = "data"

# copy variable
var2 = var1

# use in host name
host = user@example.com
host: ls
```


