cpl in cpl-1.0.2 vs cpl in cpl-1.0.3

- old
+ new

@@ -1,15 +1,6 @@ -#!/bin/sh +#!/usr/bin/env ruby +# frozen_string_literal: true -SCRIPT_DIR=$(dirname $(realpath $0)) +require_relative "lib/cpl" -# exports .env to vars -# -# Example .env: -# CPLN_TOKEN=xxx -# -if [ -f "$SCRIPT_DIR/.env" ]; then - export $(grep -v '^#' $SCRIPT_DIR/.env | xargs -0) -fi - -# exec $SCRIPT_DIR/old_commands/main.sh "$@" -exec ruby $SCRIPT_DIR/lib/main.rb "$@" +Cpl::Cli.start