Giter VIP home page Giter VIP logo

arch-d4st-docker's Introduction

d4st-docker

Materials for providing Docker containers for the D4ST components

D4ST release packages are available from the main dita-for-small-teams release area: https://github.com/dita-for-small-teams/dita-for-small-teams/releases

See the D4ST Docker manual at http://www.dita-for-small-teams.org/d4st-docker/

Bash completion

The file bash_completion.d/d4st.bash-completion is a bash completion script that lets you use tab to do autocomplete for the d4st command options.

To install the completion file do the following:

macOS

You must have bash completion installed. See http://davidalger.com/development/bash-completion-on-os-x-with-brew/ for instructions on using homebrew to install bash completion if you haven't already.

To install the completion file link the d4st.bash-completion file to /etc/bash_completion.d/d4st:

$ cd d4st/bash_completion.d
$ ln -s $PWD/d4st.bash-completion `brew --prefix`/etc/bash_completion.d/d4st

You should now be able to type "d4st", space, and tab to get a list of available options:

Mako:bash_completion.d ekimber$ d4st 
addhooks             cleanimages          gitlab               log-gitlab           pause                stop                 up                   
cleanall             down                 kill                 make-gitlab-project  pull                 test-gitlab          
cleancontainers      getdemo              linkmgr              make-gitlab-user     start                unpause              
Mako:bash_completion.d ekimber$ d4st 

Windows git bash shell

Not entirely sure how to set this up permanently but if you simply source bash_completion.d/d4st.bash-completion it should take effect:

$ cd ~/apps/d4st  (Or wherever you installed d4st)
$ source bash_completion.d/d4st.bash-completion

You may need to have the directory containing the d4st script in your PATH.

Windows bash (Windows Linux Subsystem)

Looks like the current d4st script doesn't currently work under the Windows bash shell. But the installation for the completion script is the same as for Linux.

Linux

To install the completion file link the d4st.bash-completion file to /etc/bash_completion.d/d4st:

$ cd d4st/bash_completion.d
$ sudo ln -s $PWD/d4st.bash-completion /etc/bash_completion.d/d4st

arch-d4st-docker's People

Contributors

contrext avatar drmacro avatar paperdigits avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.