App-Buuilt-CLI

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "Checkout, watch and upload theme assets for buuilt.it",
   "author" : [
      "Jens Gassmann <jens.gassmann@atomix.de>"
   ],
   "dynamic_config" : 0,
   "generated_by" : "Minilla/v2.3.0",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'Checkout, watch and upload theme assets for buuilt.it'
author:
  - 'Jens Gassmann <jens.gassmann@atomix.de>'
build_requires:
  Test::More: '0.98'
configure_requires:
  Module::Build::Tiny: '0.035'
dynamic_config: 0
generated_by: 'Minilla/v2.3.0, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:

README.md  view on Meta::CPAN

## checkout

    Checkout the whole theme into the given directory

## watch

    Watch for changed or new files and directory, upload to cms

## asset\_put

    Put an asset example stylesheets/demo.css
    

## asset\_delete

    Delete an asset, example stylesheet/demo.css

# NAME

App::Buuilt::CLI - Checkout, watch and upload theme assets for buuilt.it

# SYNOPSIS

    use App::Buuilt::CLI;

# DESCRIPTION

    App::Buuilt::CLI help you edit the assets for a buuilt-theme. You could checkout and watch for changes 

# LICENSE

lib/App/Buuilt/CLI.pm  view on Meta::CPAN


    my $zip = Archive::Zip->new();

    $zip->read( $file->stringify );
    $zip->extractTree( 'assets', $assets );

}

=head2 watch

    Watch for changed or new files and directory, upload to cms

=cut

sub watch {

    my ( $self, $directory ) = @_;

    my $config = $self->config();

    my $assets = dir( $directory, 'assets' );

lib/App/Buuilt/CLI.pm  view on Meta::CPAN


}

1;
__END__

=encoding utf-8

=head1 NAME

App::Buuilt::CLI - Checkout, watch and upload theme assets for buuilt.it

=head1 SYNOPSIS

    use App::Buuilt::CLI;

=head1 DESCRIPTION

    App::Buuilt::CLI help you edit the assets for a buuilt-theme. You could checkout and watch for changes 




( run in 2.073 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )