agpm-cli 0.4.14

AGent Package Manager - A Git-based package manager for coding agents
Documentation
#!/usr/bin/env node
// Example test runner script for AGPM
// This script demonstrates how to use JavaScript scripts as dependencies

console.log('๐Ÿงช Running tests...');

const tests = [
    { name: 'Unit tests', command: 'cargo test --lib' },
    { name: 'Integration tests', command: 'cargo test --test' },
    { name: 'Documentation tests', command: 'cargo test --doc' }
];

let allPassed = true;

for (const test of tests) {
    console.log(`  - Running ${test.name}...`);
    
    // Simulate test execution
    const passed = Math.random() > 0.1; // 90% success rate for demo
    
    if (passed) {
        console.log(`    โœ… ${test.name} passed`);
    } else {
        console.log(`    โŒ ${test.name} failed`);
        allPassed = false;
    }
}

if (allPassed) {
    console.log('โœจ All tests passed!');
    process.exit(0);
} else {
    console.log('๐Ÿ’ฅ Some tests failed');
    process.exit(1);
}