Sha256: 1271c9b26d47af1136dfd573002e6e638aa20bac606decfccfb940565b56a35d
Contents?: true
Size: 679 Bytes
Versions: 78
Compression:
Stored size: 679 Bytes
Contents
# frozen_string_literal: true require_relative "../base" module Neetob class CLI module Local class Ls < Base attr_accessor :sandbox, :apps, :dir def initialize(apps, dir, sandbox = false) super() @apps = apps @dir = dir @sandbox = sandbox end def run matching_apps = find_all_matching_apps_or_repos(apps, :github, sandbox, true) matching_apps.each do |app| app_name = app.split("/")[1] ui.info("\nListing files from #{app_name}/#{dir}\n") ui.info(`cd ./#{app_name} && ls #{dir}`) end end end end end end
Version data entries
78 entries across 78 versions & 1 rubygems