Socket
Socket
Sign inDemoInstall

bilderhic

Package Overview
Dependencies
42
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bilderhic

Bilderhic (bhic) is a smart and simple command tool for automatization.


Version published
Weekly downloads
75
increased by120.59%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

bilderhic

Bilderhic is a smart and simple command tool for automatization.

How it works?

You have to create a pipe file. Bilderhic will run the commands inside your file. The commands of the pipe file can be Bilderhic commands, or bash / cmd commands. Bilderhic includes usefull commands for edit files.

Installation

npm i -g bilderhic

Usage

bhic <file> [-vb or --verbose] [-d or --debug]

~ Bilderhic Commands ~

> env command
Description

It allows you to create / load / edit environment variables (inside your process).

Usage

Set variable manually

env set <key> <value>

Adds a value to a numeric variable

env add <key> <value>

Load variables

env load <file.yml>

File.yml example

app:
    id: com.brand.app
    version: 2
    description: This is an awesome Android Application.
    name: Awesomapp

Usage of environment variables

env load File.yml

:open config.xml
    - set widget.id=[app.id]
    - set widget.android-versionCode=[app.version]
    - set widget.version=0.0.[app.version]
    - set widget>name=[app.name]
    - set widget>description=[app.description]
    - save
    - close

Clear your environment

env clear
> copy command
Description

Copies a file or a folder. Override the files if it exists.

Usage
copy <from> <to> [--ignore <file or folder>]
> del command
Description

Deletes a file o a folder (recursively) if exists.

Usage
del <file or folder>
> cd command

DOC

> mkdir command

DOC

> ren command

DOC

> run command

DOC

> exit command
Description

Stops the pipe or the process.

Usage
exit [pipe]

~ Special Commands ~

:pipe <file>
:each folder
:each file
:open <file>
:eval <code>
:if <conditions>

File edition

Text editors: TXT Object editors: XML, HTML, JSON

~ Text editors ~

- append <text>
- set <line number> <text>
- replace <text> <replacement text>
- replaceone <text> <replacement text>
- save
- close

~ Object editors ~

- add <key>=<value>
- set <selector> = <value or variable>
- get <selector> > <variableName>
- save
- close

Examples

bhic pipe.txt

Keywords

FAQs

Last updated on 05 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc