2.0.0 • Published 6 years ago

workflow-app-iterm v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

iTerm app for workflow

Workflow iTerm app for workflow with layout management within the iTerm2 instance.

The SplitV and SplitH layouts from the workflow-layout-tiled module can be used to create arbitrary tile layouts. They can contain a number of Apps or nested layout components. The width of each split is not possible to specify, it will be the size of the contained area divide by the number of children.

Example

import React from 'react';
import { render, Workspace, requireComponent } from 'workflow-react';

import { ITerm } from requireComponent("workflow-app-iterm");

const { SplitV, SplitH } = requireComponent("workflow-layout-tiled");
const { Vim } = requireComponent("workflow-app-vim");
const { Terminal } = requireComponent("workflow-app-terminal");
const { Emacs } = requireComponent("workflow-app-emacs");;

export const flow = render(
  <Workspace name={'workflow-iterm-split'}>
    <ITerm>
      <SplitH>
        <SplitV>
          <Vim file={__filename} />
          <Terminal cwd={"~"} cmd={"ls"} />
        </SplitV>
        <SplitV>
          <Emacs file={"~/dev/workflow/Readme.md"} />
          <Terminal cwd={"~"} cmd={"ls"} />
        </SplitV>
      </SplitH>
    </ITerm>
  </Workspace>,
);

Demo

Try it with: yarn ItermSplit

Demo

2.0.0

6 years ago

1.0.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.1.1

6 years ago

0.1.0-beta.1

6 years ago

0.0.1

6 years ago