Skip to main content

No project description provided

Project description

Vortex CLI

Build Status PyPI version

Vortex CLI is a command line alternative to the Puakma Vortex IDE that simplifies the process of developing Puakma Applications on a Puakma Tornado Server using Visual Studio Code. It allows you to clone applications from the server to a local workspace, edit the files using Visual Studio Code, and automatically upload changes to the server as you work.

Vortex CLI also comes pre-packaged with the necessary Puakma .jar files for development.

Visual Studio Code and Extensions

While it is possible to use without it, this software has been purposefully designed for use with Visual Studio Code and the Project Manager For Java or the Extension Pack For Java extension. This software leverages Workspaces in Visual Studio Code and manages a vortex.code-workspace file within the workspace.

Installation

  1. Install the tool using pip.

    pip install vortex-cli
    
  2. It is recommended to set the workspace you would like to work out of via the VORTEX_HOME environment variable.

    On Unix:

    export VORTEX_HOME=/path/to/workspace
    

    Otherwise, Vortex CLI will use a default 'vortex-cli-workspace' directory inside your home directory.

  3. Run vortex with the --init flag to create your workspace (If it doesn't already exist) and the necessary config files:

    vortex --init
    
  4. Define the servers you will be working with in the servers.ini file inside the .config directory within your workspace. You can quickly access this using the code command to view your workspace in VSCode.

    vortex code
    

    In the servers.ini file, you can define as many servers as you need, each with their own unique name. For example:

    [DEFAULT] ; This section is optional and only useful if you have multiple definitions
    port = 80 ; Options provided under DEFAULT will be applied to all definitions if not provided
    soap_path = system/SOAPDesigner.pma
    default = server1 ; Useful when you have multiple definitions
    
    
    [server1] ; This can be called whatever you want and can be referenced using the '--server' flag
    host = example.com
    port = 8080 ; we can overwrite the DEFAULT value
    puakma_db_conn_id = 13
    username = myuser ; Optional - Prompted at runtime if not provided
    password = mypassword ; Optional - Prompted at runtime if not provided
    ; Optional
    lib_path = ; additional jars that should be included in the classpath
    java_home = /usr/lib/jvm/java-17-openjdk-amd64/ ; The local path to the JRE to use. Should be the same version running on your server
    java_environment_name = JavaSE-17 ; Java Execution Environment name https://docs.osgi.org/reference/eenames.html
    

Usage

For a full list of commands see --help.

Command Overview

  • code: Open the workspace in Visual Studio Code.
  • list (or ls): List Puakma Applications on the server or cloned locally. (ls is an alias for vortex list --local)
  • clone: Clone Puakma Applications and their design objects into the workspace or in the .pmx format.
  • watch: Watch the workspace for changes to Design Objects and automatically upload them to the server.
  • clean: Delete the locally cloned Puakma Application directories in the workspace.
  • config: View and manage configuration.
  • log: View the server log.
  • find: Find Design Objects of cloned applications by name.
  • grep: Search the contents of cloned Design Objects using a Regular Expression.
  • new: Create new Design Objects, Applications, or Keywords. Use --update to update instead.
  • copy: Copy a Design Object from one application to another.
  • delete: Delete Design Objects by ID.
  • db: Interact with Database Connections.
  • docs: Open the Tornado Server Blackbook.
  • execute: Execute a command on the server.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vortex_cli-4.16.3.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

vortex_cli-4.16.3-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file vortex_cli-4.16.3.tar.gz.

File metadata

  • Download URL: vortex_cli-4.16.3.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for vortex_cli-4.16.3.tar.gz
Algorithm Hash digest
SHA256 bdf37f14782d301eb2e5c6916a4a8644eef5c23cdbb38ce921c49096f8e3d521
MD5 c18f8e3b84ed8d9c088875f3a905602a
BLAKE2b-256 34adc881fb43e0a3a293c1560bdde91afcead063edc8a2df2c11702c76579aea

See more details on using hashes here.

File details

Details for the file vortex_cli-4.16.3-py3-none-any.whl.

File metadata

  • Download URL: vortex_cli-4.16.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for vortex_cli-4.16.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6119ded35c8caac0c1fa411976d6889af1da29c2bcf1978a97f8780d102dcdcd
MD5 4f528a2058d5c52a5ddd0ac9d7093ee6
BLAKE2b-256 28486b395f09941f97a127cfbea7c23a602151e7e6be1badbbc2f95a36340ee3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page