openwhisk-cli

(β˜… 109)

Apache OpenWhisk Command Line Interface (CLI)

  • .asf.yaml
  • .gitignore
  • .scalafmt.conf
  • .travis.yml
  • build.gradle
  • CHANGELOG.md
  • CONTRIBUTING.md
  • go.mod
  • go.sum
  • gradle.properties
  • gradlew
  • gradlew.bat
  • LICENSE.txt
  • main.go
  • NOTICE.txt
  • README.md
  • settings.gradle

# Installation Guide

1. Get the code
git clone https://github.com/apache/openwhisk-cli

Downloads the entire project code from GitHub to your computer.

cd openwhisk-cli

Moves into the project folder you just downloaded.

2. Gradle (Java/Kotlin)

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java/Kotlin projects.
  • Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
./gradlew goBuild

Builds the project using Gradle.

./gradlew tasks

Builds the project using Gradle.

$ ./gradlew buildDarwinAmd64

Builds the project using Gradle.

gradle -version

Builds the project using Gradle.

$ ./gradlew goTest -PgoTags=unit

Builds the project using Gradle.

βœ… A BUILD SUCCESSFUL message means it worked. The output is created under build/.

Pulled directly from this repo's README.

3. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
$ go build -o wsk

Compiles the Go program into an executable.

$ GOOS=linux GOARCH=amd64 go build -o wsk

Compiles the Go program into an executable.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

Pulled directly from this repo's README.

// repository documentation