sn-shell


License

License

Categories

Categories

Native Development Tools
GroupId

GroupId

com.github.tbje
ArtifactId

ArtifactId

sn-shell_native0.3_2.11
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

jar
Description

Description

sn-shell
sn-shell
Project URL

Project URL

https://github.com/tbje/sn-shell
Project Organization

Project Organization

com.github.tbje
Source Code Management

Source Code Management

https://github.com/tbje/sn-shell

Download sn-shell_native0.3_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.tbje/sn-shell_native0.3_2.11/ -->
<dependency>
    <groupId>com.github.tbje</groupId>
    <artifactId>sn-shell_native0.3_2.11</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.tbje/sn-shell_native0.3_2.11/
implementation 'com.github.tbje:sn-shell_native0.3_2.11:0.1'
// https://jarcasting.com/artifacts/com.github.tbje/sn-shell_native0.3_2.11/
implementation ("com.github.tbje:sn-shell_native0.3_2.11:0.1")
'com.github.tbje:sn-shell_native0.3_2.11:jar:0.1'
<dependency org="com.github.tbje" name="sn-shell_native0.3_2.11" rev="0.1">
  <artifact name="sn-shell_native0.3_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.tbje', module='sn-shell_native0.3_2.11', version='0.1')
)
libraryDependencies += "com.github.tbje" % "sn-shell_native0.3_2.11" % "0.1"
[com.github.tbje/sn-shell_native0.3_2.11 "0.1"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.11
org.scala-native : nativelib_native0.3_2.11 jar 0.3.3
org.scala-native : javalib_native0.3_2.11 jar 0.3.3
org.scala-native : scalalib_native0.3_2.11 jar 0.3.3

test (2)

Group / Artifact Type Version
org.scala-native : test-interface_native0.3_2.11 jar 0.3.3
com.lihaoyi : utest_native0.3_2.11 jar 0.5.3

Project Modules

There are no modules declared in this project.

sn-shell - simple lib for running shell commands for ScalaNative

Wrapper over using popen to run shell commands.

Example:

import tbje.snShell.Shell._

runCommand("ls -l").foreach{ _.lines.foreach(x => println ("  " + x)) }

runCommand("pwd", cwd = Some("test"))

In build.sbt or somewhere in the project directory :

libraryDependencies += "com.github.tbje" %%% "sn-shell" % "0.1-SNAPSHOT"

Versions

Version
0.1