GithubHelp home page GithubHelp logo

kicklink's Introduction

kicklink

kicklink is a command-line script crafted to simplify the sending of deeplinks on both Android and iOS platforms. It eliminates the need to memorize intricate adb and xcrun commands by introducing a consistent command-line interface for dispatching deeplinks to the respective platforms. Under the hood, it seamlessly directs deeplinks to Android devices using adb and to iOS devices using xcrun, all achieved with a single, easy-to-recall command.

Installation

Prerequisite

Before installing kicklink, make sure you have the following prerequisites:

  • Homebrew: If you don't have Homebrew installed, you can install it by following the instructions at https://brew.sh.
  • adb
  • XCode

Install via Homebrew

Add new tap repository.

brew tap extmkv/brew

Install kicklink:

brew install kicklink

This will download and install the kicklink script on your system.

Usage

Basic Usage

To use kicklink, you can run it from the command line with the following syntax:

kicklink -p [platform] -d [deeplink]
  • -p: Specify the platform (android or ios). If not provided, it will dispatch to both Android and iOS.
  • -d: Specify the deeplink you want to dispatch.

Examples

Dispatch a deeplink to Android:

kicklink -p android -d myapp://example.com/page

Dispatch a deeplink to iOS:

kicklink -p ios -d myapp://example.com/page

Dispatch a deeplink to both Android and iOS:

kicklink -d myapp://example.com/page

Help

You can view the help message by running:

kicklink -h

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

If you encounter any issues or have suggestions for improvement, please feel free to open an issue on this repository.

Happy deeplinking!

kicklink's People

Contributors

extmkv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.