nervetattoo / aether

Modular PHP framework
aether-project.com
10 stars 1 forks source link

Aether URL CLI #6

Open nervetattoo opened 15 years ago

nervetattoo commented 15 years ago

It should be possible to run a command to list all the URLs in an application and what module they map to. So say you have a url rule that looks like this /post/[0-9]+ where the id is stored in a variable called articleId it should show something like this:

% aether urls

/post/[0-9]+ -> AetherModulePost [[0-9]+ => 'articleId']

nervetattoo commented 15 years ago

Should also be possible to do something like this:

% aether url domain.com/article/1

% /article/[0-9]+ => AetherModuleArticle [articleId -> 1]