Socket
Book a DemoInstallSign in
Socket

fastlane-api

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastlane-api

Generate shape of fastlane actions and plugins API

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

fastlane-codegen

API generator/extractor for Fastlane

Generates the shape of fastlane actions and their options based on the currently installed version.

This is useful for generating a wrapper API over the socket_server interface.

CLI

The easiest way to get started is running with npx

npx fastlane-api -f myapi.json
# or
npx fastlane-api > myapi.json

Options

❯ npx fastlane-api --help
Usage: fastlane-api [options]

Generate JSON or YAML formatted API from Fastlane

Options:
  -f --file [filePath]  target file for serialized output (defaults to stdout)
  -d --debug            Debug mode - leave the fastlane directory and
                        auto-generated files behind (default: false)
  -y --yaml             Generate YAML instead of JSON (default: false)
  -h, --help            display help for command

API

The export of fastlane-api is a function that generates the API as an object you can use in runtime.

Installation

yarn add fastlane-api

Usage

const getFastlaneAPI = require("fastlane-api");
const { version, actions } = getFastlaneAPI(); //This is synchronous and slow
console.log("version is", api.version);
console.log(
  "Available actions are",
  actions.map(({ name }) => name)
);

Keywords

fastlane

FAQs

Package last updated on 28 Apr 2020

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.