object proxying system
[scpubgit/Tak.git] / bin / tak-repl
CommitLineData
8b6c1f59 1#!/usr/bin/env perl
2
3use Tak::WorldHandle;
4use Tak::REPL;
5use strictures 1;
6
7my $world = do {
8 if (my $ssh_target = $ARGV[0]) {
9 Tak::WorldHandle->new_remote($ssh_target);
10 } else {
11 Tak::WorldHandle->new_local;
12 }
13};
14
15Tak::REPL->new(world => $world)->run;