App-DesktopWorkspaceUtils

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.036.
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini
lib/App/DesktopWorkspaceUtils.pm
script/list-desktop-workspace-items
script/open-desktop-workspace-items
t/00-compile.t
t/author-critic.t
t/author-pod-coverage.t
t/author-pod-syntax.t
t/release-rinci.t
weaver.ini

META.json  view on Meta::CPAN

      }
   },
   "version" : "0.001",
   "x_Dist_Zilla" : {
      "perl" : {
         "version" : "5.042000"
      },
      "plugins" : [
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript list-desktop-workspace-items",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::GenPericmdScript",
            "name" : "GenPericmdScript open-desktop-workspace-items",
            "version" : "0.425"
         },
         {
            "class" : "Dist::Zilla::Plugin::InsertExecsList",
            "name" : "InsertExecsList",
            "version" : "0.032"
         },
         {
            "class" : "Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease",
            "name" : "@Author::PERLANCAR/PERLANCAR::CheckPendingRelease",

META.yml  view on Meta::CPAN

  bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-DesktopWorkspaceUtils
  homepage: https://metacpan.org/release/App-DesktopWorkspaceUtils
  repository: git://github.com/perlancar/perl-App-DesktopWorkspaceUtils.git
version: '0.001'
x_Dist_Zilla:
  perl:
    version: '5.042000'
  plugins:
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript list-desktop-workspace-items'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::GenPericmdScript
      name: 'GenPericmdScript open-desktop-workspace-items'
      version: '0.425'
    -
      class: Dist::Zilla::Plugin::InsertExecsList
      name: InsertExecsList
      version: '0.032'
    -
      class: Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease
      name: '@Author::PERLANCAR/PERLANCAR::CheckPendingRelease'
      version: '0.001'
    -

Makefile.PL  view on Meta::CPAN

use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "Utilities related to DesktopWorkspace",
  "AUTHOR" => "perlancar <perlancar\@cpan.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "App-DesktopWorkspaceUtils",
  "EXE_FILES" => [
    "script/list-desktop-workspace-items",
    "script/open-desktop-workspace-items"
  ],
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.010001",
  "NAME" => "App::DesktopWorkspaceUtils",
  "PREREQ_PM" => {
    "Data::Sah::Compiler::perl::TH::any" => "0.914",
    "Data::Sah::Compiler::perl::TH::array" => "0.914",
    "Data::Sah::Compiler::perl::TH::bool" => "0.914",
    "Data::Sah::Compiler::perl::TH::hash" => "0.914",
    "Data::Sah::Compiler::perl::TH::str" => "0.914",

README  view on Meta::CPAN

NAME
    App::DesktopWorkspaceUtils - Utilities related to DesktopWorkspace

VERSION
    This document describes version 0.001 of App::DesktopWorkspaceUtils
    (from Perl distribution App-DesktopWorkspaceUtils), released on
    2026-03-29.

SYNOPSIS
DESCRIPTION
    This distribution includes several utilities related to desktop
    workspace specification (DesktopWorkspace):

    *   list-desktop-workspace-items

    *   open-desktop-workspace-items

HOMEPAGE
    Please visit the project's homepage at
    <https://metacpan.org/release/App-DesktopWorkspaceUtils>.

SOURCE
    Source repository is at
    <https://github.com/perlancar/perl-App-DesktopWorkspaceUtils>.

SEE ALSO

dist.ini  view on Meta::CPAN

;---------------------------------
author  = perlancar <perlancar@cpan.org>
copyright_holder = perlancar <perlancar@cpan.org>
license = Perl_5
;---------------------------------

version=0.001

name=App-DesktopWorkspaceUtils

[GenPericmdScript / GenPericmdScript list-desktop-workspace-items]
url=/Desktop/Workspace/Util/list_desktop_workspace_items
enable_log=1
read_config=0
read_env=0

[GenPericmdScript / GenPericmdScript open-desktop-workspace-items]
url=/Desktop/Workspace/Util/open_desktop_workspace_items
enable_log=1
read_config=0
read_env=0

[InsertExecsList]

[@Author::PERLANCAR]
:version=0.610

[Prereqs / TestRequires]

lib/App/DesktopWorkspaceUtils.pm  view on Meta::CPAN

App::DesktopWorkspaceUtils - Utilities related to DesktopWorkspace

=head1 VERSION

This document describes version 0.001 of App::DesktopWorkspaceUtils (from Perl distribution App-DesktopWorkspaceUtils), released on 2026-03-29.

=head1 SYNOPSIS

=head1 DESCRIPTION

This distribution includes several utilities related to desktop workspace
specification (L<DesktopWorkspace>):

=over

=item * L<list-desktop-workspace-items>

=item * L<open-desktop-workspace-items>

=back

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan.org/release/App-DesktopWorkspaceUtils>.

=head1 SOURCE

Source repository is at L<https://github.com/perlancar/perl-App-DesktopWorkspaceUtils>.

script/list-desktop-workspace-items  view on Meta::CPAN

#!perl

# Note: This script is a CLI for Riap function /Desktop/Workspace/Util/list_desktop_workspace_items
# and generated automatically using Perinci::CmdLine::Gen version 0.502

use 5.010001;
use strict;
use warnings;
use Log::ger;

use Perinci::CmdLine::Any;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2026-03-29'; # DATE
our $DIST = 'App-DesktopWorkspaceUtils'; # DIST
our $VERSION = '0.001'; # VERSION

my $cmdline = Perinci::CmdLine::Any->new(
    url => "/Desktop/Workspace/Util/list_desktop_workspace_items",
    program_name => "list-desktop-workspace-items",
    log => 1,
    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: List the items from desktop workspace specification module, with filtering options
# PODNAME: list-desktop-workspace-items

__END__

=pod

=encoding UTF-8

=head1 NAME

list-desktop-workspace-items - List the items from desktop workspace specification module, with filtering options

=head1 VERSION

This document describes version 0.001 of list-desktop-workspace-items (from Perl distribution App-DesktopWorkspaceUtils), released on 2026-03-29.

=head1 SYNOPSIS

B<list-desktop-workspace-items> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<list-desktop-workspace-items> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<list-desktop-workspace-items> [B<L<--all|/"--all">>|B<L<--no-all|/"--all">>|B<L<--noall|/"--all">>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>...

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--module-args-json>=I<s>

script/list-desktop-workspace-items  view on Meta::CPAN


=head1 COMPLETION

This script has shell tab completion capability with support for several
shells.

=head2 bash

To activate bash completion for this script, put:

 complete -C list-desktop-workspace-items list-desktop-workspace-items

in your bash startup (e.g. F<~/.bashrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is recommended, however, that you install modules using L<cpanm-shcompgen>
which can activate shell completion for scripts immediately.

=head2 tcsh

To activate tcsh completion for this script, put:

 complete list-desktop-workspace-items 'p/*/`list-desktop-workspace-items`/'

in your tcsh startup (e.g. F<~/.tcshrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is also recommended to install L<shcompgen> (see above).

=head2 other shells

For fish and zsh, install L<shcompgen> as described above.

script/open-desktop-workspace-items  view on Meta::CPAN

#!perl

# Note: This script is a CLI for Riap function /Desktop/Workspace/Util/open_desktop_workspace_items
# and generated automatically using Perinci::CmdLine::Gen version 0.502

use 5.010001;
use strict;
use warnings;
use Log::ger;

use Perinci::CmdLine::Any;

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2026-03-29'; # DATE
our $DIST = 'App-DesktopWorkspaceUtils'; # DIST
our $VERSION = '0.001'; # VERSION

my $cmdline = Perinci::CmdLine::Any->new(
    url => "/Desktop/Workspace/Util/open_desktop_workspace_items",
    program_name => "open-desktop-workspace-items",
    log => 1,
    read_config => 0,
    read_env => 0,
);

$cmdline->run;

# ABSTRACT: Open desktop workspace items
# PODNAME: open-desktop-workspace-items

__END__

=pod

=encoding UTF-8

=head1 NAME

open-desktop-workspace-items - Open desktop workspace items

=head1 VERSION

This document describes version 0.001 of open-desktop-workspace-items (from Perl distribution App-DesktopWorkspaceUtils), released on 2026-03-29.

=head1 SYNOPSIS

B<open-desktop-workspace-items> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)

B<open-desktop-workspace-items> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)

B<open-desktop-workspace-items> [B<L<--all|/"--all">>|B<L<--no-all|/"--all">>|B<L<--noall|/"--all">>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>...

=head1 DESCRIPTION

Some notes:
- if you do not use C<new_browser_window>, then URLs will be opened in the
  previous Firefox window which might be in another KDE activity.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--kde-activity>=I<s>

Switch to the specified KDE activity name.

Override's desktop workspace specification's C<kde_activity> property.


=item B<--module-args-json>=I<s>

See C<--module-args>.

=item B<--module-args>=I<s>

(No description)

script/open-desktop-workspace-items  view on Meta::CPAN


(No description)


Can also be specified as the 1st command-line argument.

=item B<--new-browser-window>

When having to open one or more browser tabs, open a new browser window.

Override's desktop workspace specification's C<new_browser_window> property.


=item B<--ns-prefixes-json>=I<s>

List of namespaces to search for a Desktop Workspace specification modules (JSON-encoded).

See C<--ns-prefixes>.

=item B<--ns-prefixes>=I<s>

script/open-desktop-workspace-items  view on Meta::CPAN


=head1 COMPLETION

This script has shell tab completion capability with support for several
shells.

=head2 bash

To activate bash completion for this script, put:

 complete -C open-desktop-workspace-items open-desktop-workspace-items

in your bash startup (e.g. F<~/.bashrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is recommended, however, that you install modules using L<cpanm-shcompgen>
which can activate shell completion for scripts immediately.

=head2 tcsh

To activate tcsh completion for this script, put:

 complete open-desktop-workspace-items 'p/*/`open-desktop-workspace-items`/'

in your tcsh startup (e.g. F<~/.tcshrc>). Your next shell session will then
recognize tab completion for the command. Or, you can also directly execute the
line above in your shell to activate immediately.

It is also recommended to install L<shcompgen> (see above).

=head2 other shells

For fish and zsh, install L<shcompgen> as described above.

t/00-compile.t  view on Meta::CPAN


use Test::More;

plan tests => 3 + ($ENV{AUTHOR_TESTING} ? 1 : 0);

my @module_files = (
    'App/DesktopWorkspaceUtils.pm'
);

my @scripts = (
    'script/list-desktop-workspace-items',
    'script/open-desktop-workspace-items'
);

# no fake home requested

my @switches = (
    -d 'blib' ? '-Mblib' : '-Ilib',
);

use File::Spec;
use IPC::Open3;

t/author-critic.t  view on Meta::CPAN

}


use strict;
use warnings;

# this test was generated with Dist::Zilla::Plugin::Test::Perl::Critic::Subset 3.001.006

use Test::Perl::Critic (-profile => "") x!! -e "";

my $filenames = ['lib/App/DesktopWorkspaceUtils.pm','script/list-desktop-workspace-items','script/open-desktop-workspace-items'];
unless ($filenames && @$filenames) {
    $filenames = -d "blib" ? ["blib"] : ["lib"];
}

all_critic_ok(@$filenames);



( run in 1.637 second using v1.01-cache-2.11-cpan-600a1bdf6e4 )