Config


Each Nexss Programmer Project uses the config file which allows to specify your configuration. Config is located in the root directory of the Nexss Project: ./_nexss.yml

More About Projects: Nexss Programmer Projects
Example of Nexss Programmer Projects/Packages which uses nexss config command run nexss Nexss/PackageBrowser

Config file example

name: myproject
author: Marcin Polak mapoart@gmail.com
debug: true
input:
  - name: file
    validate:
      - type: required
output:
  - name: text
    validate:
      - type: required
data: # Add your custom data to pass in
  x: 1
  y: 2
  arr:
    - myval
    - 3
    - "test"
    - 369
  content: |-
    asdasd
    sdda
    sdasdasd
  paragraph: >
    Blank nexss paragraph

    another one

    another  
files:
  - name: myfile.tcl # You can use files
  - name: 'Keyboard --type="{LWin}"' # packages (global and local)
  - name: Screen/Capture
  - name: src/speechRecognition.py
  - name: myfile.php
  - name: thisisatest.exs
commands:
  - name: listDirectory
    command: ls -la
sequences:
  myseq1:
    - name: src/myfile.r
    - name: Template --name=myname --file=mytemplate4.jade
  myseq2:
    - name: src/readData1.js
    - name: src/readData2.rb
    - name: Template --name=myname --file=mytemplate3.pug

Config Commands

nexss config get

nexss config get --configPath $::env(NEXSS_PACKAGES_PATH)/$txt --json

nexss config set

nexss config set --json "{\"files\":[{\"name\":\"myfile.jl\",\"cache\":\"20s\"}],\"debug\":false}"
nexss config set --json "{\"SEQ1\":[{\"name\":\"myfile1.rs\"},{\"name\":\"myfile2.java\"}]}"